diff options
Diffstat (limited to 'ufs-fsck')
-rw-r--r-- | ufs-fsck/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ufs-fsck/setup.c b/ufs-fsck/setup.c index 9b61ac81..a3f67a09 100644 --- a/ufs-fsck/setup.c +++ b/ufs-fsck/setup.c @@ -41,7 +41,7 @@ setup (char *dev) perror (dev); return 0; } - if (!S_ISDIR (st.st_mode)) + if (!S_ISCHR (st.st_mode)) { pfatal ("%s is not a character device", dev); if (!reply ("CONTINUE")) |