diff options
author | trhodes <trhodes@FreeBSD.org> | 2002-08-26 03:56:23 +0000 |
---|---|---|
committer | trhodes <trhodes@FreeBSD.org> | 2002-08-26 03:56:23 +0000 |
commit | 738b07a4ac35246f02325bcc6eb9056a707839fa (patch) | |
tree | 67b97552017abd974e2505df04005befcfc69310 /sbin/clri | |
parent | a4a2c1790b16a9941bdc284aeb0683b4eb135d1a (diff) | |
download | FreeBSD-src-738b07a4ac35246f02325bcc6eb9056a707839fa.zip FreeBSD-src-738b07a4ac35246f02325bcc6eb9056a707839fa.tar.gz |
Print a more realistic usage message 'special_device' 'inode_number'. This
matches the synopsis given in the manual page.
MFC after: 3 days
Diffstat (limited to 'sbin/clri')
-rw-r--r-- | sbin/clri/clri.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/clri/clri.c b/sbin/clri/clri.c index 6f3995b..e145d17 100644 --- a/sbin/clri/clri.c +++ b/sbin/clri/clri.c @@ -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; |