Little mkfs diagnostic help
This commit is contained in:
parent
c349ef942a
commit
d2018bb8ad
@ -244,8 +244,8 @@ char *argv[];
|
|||||||
if (argc - optind != 2 && (argc - optind != 1 || blocks == 0)) usage();
|
if (argc - optind != 2 && (argc - optind != 1 || blocks == 0)) usage();
|
||||||
|
|
||||||
if (blocks > maxblocks) {
|
if (blocks > maxblocks) {
|
||||||
fprintf(stderr, "%s: number of blocks too large for device.\n",
|
fprintf(stderr, "%s: %s: number of blocks too large for device.\n",
|
||||||
progname);
|
progname, argv[optind]);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user