From: Ben Gras Date: Fri, 1 Jul 2005 09:38:45 +0000 (+0000) Subject: Little mkfs diagnostic help X-Git-Tag: v3.1.0~662 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=d2018bb8ad6f6e818fefb8ecab4521dcbd8d595a;p=minix.git Little mkfs diagnostic help --- diff --git a/commands/simple/mkfs.c b/commands/simple/mkfs.c index 393677744..0a8107a67 100755 --- a/commands/simple/mkfs.c +++ b/commands/simple/mkfs.c @@ -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; }