summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/mount_ext2fs/mount_ext2fs.c6
-rw-r--r--sbin/mount_msdos/mount_msdos.c6
2 files changed, 2 insertions, 10 deletions
diff --git a/sbin/mount_ext2fs/mount_ext2fs.c b/sbin/mount_ext2fs/mount_ext2fs.c
index a1cfd0d3f49..ee1d34d2e2c 100644
--- a/sbin/mount_ext2fs/mount_ext2fs.c
+++ b/sbin/mount_ext2fs/mount_ext2fs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount_ext2fs.c,v 1.15 2012/07/08 14:30:58 krw Exp $ */
+/* $OpenBSD: mount_ext2fs.c,v 1.16 2012/07/09 12:58:01 krw Exp $ */
/* $NetBSD: mount_ffs.c,v 1.3 1996/04/13 01:31:19 jtc Exp $ */
/*-
@@ -97,10 +97,6 @@ main(int argc, char *argv[])
case EOPNOTSUPP:
errcause = "filesystem not supported by kernel";
break;
- case EROFS:
- errcause =
- "filesystem must be mounted read-only; you may need to run fsck";
- break;
default:
errcause = strerror(errno);
break;
diff --git a/sbin/mount_msdos/mount_msdos.c b/sbin/mount_msdos/mount_msdos.c
index a3c1aa913e4..3a210d846c7 100644
--- a/sbin/mount_msdos/mount_msdos.c
+++ b/sbin/mount_msdos/mount_msdos.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount_msdos.c,v 1.25 2012/07/08 14:30:58 krw Exp $ */
+/* $OpenBSD: mount_msdos.c,v 1.26 2012/07/09 12:58:01 krw Exp $ */
/* $NetBSD: mount_msdos.c,v 1.16 1996/10/24 00:12:50 cgd Exp $ */
/*
@@ -140,10 +140,6 @@ main(int argc, char **argv)
case EMFILE:
errcause = "mount table full";
break;
- case EROFS:
- errcause =
- "filesystem must be mounted read-only; you may need to run fsck";
- break;
case EINVAL:
errcause =
"not an MSDOS filesystem";