diff options
Diffstat (limited to 'sbin/dumpon/dumpon.c')
-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 76cdc60..6017aa1 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]); } |