Print a more realistic usage message 'special_device' 'inode_number'. This

matches the synopsis given in the manual page.

MFC after:	3 days
This commit is contained in:
Tom Rhodes 2002-08-26 03:56:23 +00:00
parent b9d958f5d4
commit a48ea64073
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102431

View File

@ -70,7 +70,7 @@ static int sblock_try[] = SBLOCKSEARCH;
static void
usage(void)
{
(void)fprintf(stderr, "usage: clri file system inode ...\n");
(void)fprintf(stderr, "usage: clri special_device inode_number ...\n");
exit(1);
}
@ -108,7 +108,7 @@ main(int argc, char *argv[])
break;
}
if (sblock_try[i] == -1) {
fprintf(stderr, "Cannot find file system\n");
fprintf(stderr, "Cannot find special_device\n");
exit(2);
}
bsize = sbp->fs_bsize;