Module Name:    src
Committed By:   haad
Date:           Tue Aug  7 16:11:11 UTC 2012

Modified Files:
        src/sys/dev/dm: dm_target_stripe.c

Log Message:
Fix problem reported by jym on current-user@ patch was provided by mhitch@.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/dm/dm_target_stripe.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/dm/dm_target_stripe.c
diff -u src/sys/dev/dm/dm_target_stripe.c:1.17 src/sys/dev/dm/dm_target_stripe.c:1.18
--- src/sys/dev/dm/dm_target_stripe.c:1.17	Wed Jan  4 16:05:53 2012
+++ src/sys/dev/dm/dm_target_stripe.c	Tue Aug  7 16:11:11 2012
@@ -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 @@ dm_target_stripe_init(dm_dev_t * dmv, vo
 	 * 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(&params, " \t")) != NULL;) {
 		if (**ap != '\0')
 			ap++;

Reply via email to