Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/dm Fix problem reported by jym on current-user@ patc...
details: https://anonhg.NetBSD.org/src/rev/9041ae189bf6
branches: trunk
changeset: 780805:9041ae189bf6
user: haad <haad%NetBSD.org@localhost>
date: Tue Aug 07 16:11:11 2012 +0000
description:
Fix problem reported by jym on current-user@ patch was provided by mhitch@.
diffstat:
sys/dev/dm/dm_target_stripe.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r d909f2a7ca85 -r 9041ae189bf6 sys/dev/dm/dm_target_stripe.c
--- a/sys/dev/dm/dm_target_stripe.c Tue Aug 07 01:19:05 2012 +0000
+++ b/sys/dev/dm/dm_target_stripe.c Tue Aug 07 16:11:11 2012 +0000
@@ -1,4 +1,4 @@
-/*$NetBSD: dm_target_stripe.c,v 1.17 2012/01/04 16:05:53 haad Exp $*/
+/*$NetBSD: dm_target_stripe.c,v 1.18 2012/08/07 16:11:11 haad Exp $*/
/*
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -128,7 +128,7 @@
* Parse a string, containing tokens delimited by white space,
* into an argument vector
*/
- for (ap = argv; ap < &argv[9] &&
+ for (ap = argv; ap <= &argv[9] &&
(*ap = strsep(¶ms, " \t")) != NULL;) {
if (**ap != '\0')
ap++;
Home |
Main Index |
Thread Index |
Old Index