mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
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:
parent
b9d958f5d4
commit
a48ea64073
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102431
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user