From 7af48f4bc90b20cbb1b3f389908fa474e8258e82 Mon Sep 17 00:00:00 2001 From: Jolan Luff Date: Thu, 27 Aug 2009 23:14:48 +0000 Subject: make UDF less chatty during normal operation ok krw/phessler --- sys/isofs/udf/udf_vfsops.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/isofs/udf/udf_vfsops.c') 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 @@ -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 } /* -- cgit v1.2.3