aboutsummaryrefslogtreecommitdiff
path: root/sbin/clri
diff options
context:
space:
mode:
authorTom Rhodes <trhodes@FreeBSD.org>2002-08-26 03:56:23 +0000
committerTom Rhodes <trhodes@FreeBSD.org>2002-08-26 03:56:23 +0000
commita48ea640731d8581baa01dcf350f971f889cd4b8 (patch)
tree67b97552017abd974e2505df04005befcfc69310 /sbin/clri
parentb9d958f5d4b4df7b279b7eaa9a1003830a90c1f9 (diff)
downloadsrc-a48ea640731d8581baa01dcf350f971f889cd4b8.tar.gz
src-a48ea640731d8581baa01dcf350f971f889cd4b8.zip
Print a more realistic usage message 'special_device' 'inode_number'. This
matches the synopsis given in the manual page. MFC after: 3 days
Notes
Notes: svn path=/head/; revision=102431
Diffstat (limited to 'sbin/clri')
-rw-r--r--sbin/clri/clri.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/clri/clri.c b/sbin/clri/clri.c
index 6f3995b874c0..e145d178085d 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;