Whamcloud - gitweb
b=19102 set default values of filesystem-wide for LOVEA.
[fs/lustre-release.git] / lustre / utils / lfs.c
index f2b1748..7754ccd 100644 (file)
@@ -371,7 +371,7 @@ static int lfs_setstripe(int argc, char **argv)
         }
         /* get the stripe offset */
         if (stripe_off_arg != NULL) {
-                st_offset = strtoul(stripe_off_arg, &end, 0);
+                st_offset = strtol(stripe_off_arg, &end, 0);
                 if (*end != '\0') {
                         fprintf(stderr, "error: %s: bad stripe offset '%s'\n",
                                 argv[0], stripe_off_arg);