summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/isofs/udf/udf_vfsops.c4
-rw-r--r--sys/isofs/udf/udf_vnops.c3
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);