diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-01-04 12:52:52 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-01-04 12:52:52 +0000 |
| commit | 9f687911431b645513c5dba8ee938245192badd8 (patch) | |
| tree | a6a2e0db93a841cac03a1b48befec0ab039d9549 /sbin/dumpon | |
| parent | fb01c24c11890d5ca582bf6aed05a82f0c86c4ff (diff) | |
Notes
Diffstat (limited to 'sbin/dumpon')
| -rw-r--r-- | sbin/dumpon/dumpon.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/dumpon/dumpon.c b/sbin/dumpon/dumpon.c index 2e4f28b947c9..59450736b6a8 100644 --- a/sbin/dumpon/dumpon.c +++ b/sbin/dumpon/dumpon.c @@ -84,8 +84,9 @@ main(int argc, char **argv) err(EX_OSFILE, "%s", argv[0]); } - if (!S_ISCHR(stab.st_mode) && !S_ISBLK(stab.st_mode)) { - errx(EX_USAGE, "%s: must specify a device", + if (!S_ISCHR(stab.st_mode)) { + errx(EX_USAGE, + "%s: must specify a character disk device", argv[0]); } } else { |
