summaryrefslogtreecommitdiff
path: root/sys/isofs/udf/udf_vfsops.c
diff options
context:
space:
mode:
authorJolan Luff <jolan@cvs.openbsd.org>2009-08-27 23:14:48 +0000
committerJolan Luff <jolan@cvs.openbsd.org>2009-08-27 23:14:48 +0000
commit7af48f4bc90b20cbb1b3f389908fa474e8258e82 (patch)
tree111a21f225a787c782b90f5185b471d08b6fb250 /sys/isofs/udf/udf_vfsops.c
parent98772f6daebeeed94ded01fa3f134a09b1f8deaf (diff)
make UDF less chatty during normal operation
ok krw/phessler
Diffstat (limited to 'sys/isofs/udf/udf_vfsops.c')
-rw-r--r--sys/isofs/udf/udf_vfsops.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/isofs/udf/udf_vfsops.c b/sys/isofs/udf/udf_vfsops.c
index 4a1ac754931..e422db60dd2 100644
--- a/sys/isofs/udf/udf_vfsops.c
+++ b/sys/isofs/udf/udf_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udf_vfsops.c,v 1.30 2009/08/14 22:23:45 krw Exp $ */
+/* $OpenBSD: udf_vfsops.c,v 1.31 2009/08/27 23:14:47 jolan Exp $ */
/*
* Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org>
@@ -128,7 +128,9 @@ udf_mount(struct mount *mp, const char *path, void *data,
if ((mp->mnt_flag & MNT_RDONLY) == 0) {
mp->mnt_flag |= MNT_RDONLY;
+#ifdef UDF_DEBUG
printf("udf_mount: enforcing read-only mode\n");
+#endif
}
/*