summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-07-14 08:10:03 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-07-14 08:10:03 +0000
commit6334febbee050de0bd0eaedb5c2d0e44237034d0 (patch)
treedf98d8a67978b8a2be2b390d1c2645e81ab38747 /sys
parent050a0196a04982f1a1307d4d50c13438d841c379 (diff)
fix the silly printf
Diffstat (limited to 'sys')
-rw-r--r--sys/gnu/ext2fs/ext2_vfsops.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c
index 594b9d10319..c909d4f5ee9 100644
--- a/sys/gnu/ext2fs/ext2_vfsops.c
+++ b/sys/gnu/ext2fs/ext2_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2_vfsops.c,v 1.7 1996/07/14 07:46:30 downsj Exp $ */
+/* $OpenBSD: ext2_vfsops.c,v 1.8 1996/07/14 08:10:02 downsj Exp $ */
/*
* modified for EXT2FS support in Lites 1.1
@@ -656,10 +656,8 @@ ext2_mountfs(devvp, mp, p)
bp = NULL;
fs = ump->um_e2fs;
fs->s_rd_only = ronly; /* ronly is set according to mnt_flags */
- if (!(fs->s_es->s_state & EXT2_VALID_FS)) {
- printf("WARNING: %s was not properly dismounted\n",
- fs->fs_fsmnt);
- }
+ if (!(fs->s_es->s_state & EXT2_VALID_FS))
+ printf("WARNING: filesystem was not properly dismounted.\n");
/* if the fs is not mounted read-only, make sure the super block is
always written back on a sync()
*/