summaryrefslogtreecommitdiff
path: root/ufs-fsck
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-10-14 21:44:26 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-10-14 21:44:26 +0000
commitb97f2bcb095ead4428e2338c2cf8ef6b1ca08265 (patch)
tree88050746fb1d7bbd2c73a74d6ebe0ced8027b42d /ufs-fsck
parent609092eb6651140c0cd9ebf33e2aa044567afa31 (diff)
Formerly setup.c.~3~
Diffstat (limited to 'ufs-fsck')
-rw-r--r--ufs-fsck/setup.c2
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"))