]> Zhao Yanbai Git Server - minix.git/commitdiff
devsize bug
authorBen Gras <ben@minix3.org>
Tue, 13 Sep 2005 09:57:40 +0000 (09:57 +0000)
committerBen Gras <ben@minix3.org>
Tue, 13 Sep 2005 09:57:40 +0000 (09:57 +0000)
commands/simple/devsize.c

index 3ee48c29ebb01558f323e930c868bf7d950dd654..f184d52971cd11320617592a936405a720a44ab0 100755 (executable)
@@ -30,7 +30,7 @@ int main(int argc, char *argv[])
        return 1;
   }
 
-  printf("%lu\n", sizeup(argv[optind]));
+  printf("%lu\n", sizeup(argv[1]));
   return 0;
 }