]> Zhao Yanbai Git Server - minix.git/commitdiff
Little mkfs diagnostic help
authorBen Gras <ben@minix3.org>
Fri, 1 Jul 2005 09:38:45 +0000 (09:38 +0000)
committerBen Gras <ben@minix3.org>
Fri, 1 Jul 2005 09:38:45 +0000 (09:38 +0000)
commands/simple/mkfs.c

index 393677744e09819bcf3598e1bf764e8e5fa99e38..0a8107a67e356c85984d3ac4eb580830d86209bb 100755 (executable)
@@ -244,8 +244,8 @@ char *argv[];
   if (argc - optind != 2 && (argc - optind != 1 || blocks == 0)) usage();
 
   if (blocks > maxblocks) {
-       fprintf(stderr, "%s: number of blocks too large for device.\n",
-               progname);
+       fprintf(stderr, "%s: %s: number of blocks too large for device.\n",
+               progname, argv[optind]);
        return 1;
   }