diff options
author | Jolan Luff <jolan@cvs.openbsd.org> | 2009-08-27 23:14:48 +0000 |
---|---|---|
committer | Jolan Luff <jolan@cvs.openbsd.org> | 2009-08-27 23:14:48 +0000 |
commit | 7af48f4bc90b20cbb1b3f389908fa474e8258e82 (patch) | |
tree | 111a21f225a787c782b90f5185b471d08b6fb250 /sys/isofs | |
parent | 98772f6daebeeed94ded01fa3f134a09b1f8deaf (diff) |
make UDF less chatty during normal operation
ok krw/phessler
Diffstat (limited to 'sys/isofs')
-rw-r--r-- | sys/isofs/udf/udf_vfsops.c | 4 | ||||
-rw-r--r-- | sys/isofs/udf/udf_vnops.c | 3 |
2 files changed, 4 insertions, 3 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 } /* diff --git a/sys/isofs/udf/udf_vnops.c b/sys/isofs/udf/udf_vnops.c index d29e0bcae83..be03375a6cd 100644 --- a/sys/isofs/udf/udf_vnops.c +++ b/sys/isofs/udf/udf_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udf_vnops.c,v 1.38 2009/08/14 22:23:45 krw Exp $ */ +/* $OpenBSD: udf_vnops.c,v 1.39 2009/08/27 23:14:47 jolan Exp $ */ /* * Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org> @@ -1073,7 +1073,6 @@ lookloop: if (fid->file_char & UDF_FILE_CHAR_DEL) continue; -printf("name: '%s', file_char: %u\n", nameptr, fid->file_char); if ((fid->l_fi == 0) && (fid->file_char & UDF_FILE_CHAR_PAR)) { if (flags & ISDOTDOT) { id = udf_getid(&fid->icb); |