diff options
Diffstat (limited to 'sbin/dumpon')
-rw-r--r-- | sbin/dumpon/dumpon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dumpon/dumpon.c b/sbin/dumpon/dumpon.c index 76cdc60e768b..6017aa1ec3a8 100644 --- a/sbin/dumpon/dumpon.c +++ b/sbin/dumpon/dumpon.c @@ -84,7 +84,7 @@ main(int argc, char **argv) err(EX_OSFILE, "%s", argv[0]); } - if (!S_ISBLK(stab.st_mode)) { + if (!S_ISCHR(stab.st_mode)) { errx(EX_USAGE, "%s: must specify a block device", argv[0]); } |