summaryrefslogtreecommitdiff
path: root/sys/isofs/udf
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-05-09 02:46:13 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-05-09 02:46:13 +0000
commit4ad80934c76c2d9797a334a29fabe40621e62c24 (patch)
tree8c4d9f9f572c9a0c5dc75dac432f750d464be5f7 /sys/isofs/udf
parenta78f0f391269b4e08ad92bef6673cf39a1d58574 (diff)
lockmgr_printinfo() calls only if DIAGNOSTIC
Diffstat (limited to 'sys/isofs/udf')
-rw-r--r--sys/isofs/udf/udf_vnops.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/isofs/udf/udf_vnops.c b/sys/isofs/udf/udf_vnops.c
index 231c0f7ff90..4b18031a13e 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.24 2007/04/10 17:47:55 miod Exp $ */
+/* $OpenBSD: udf_vnops.c,v 1.25 2007/05/09 02:46:12 deraadt Exp $ */
/*
* Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org>
@@ -951,9 +951,10 @@ udf_print(void *v)
* Complete the information given by vprint().
*/
printf("tag VT_UDF, hash id %u\n", up->u_ino);
+#ifdef DIAGNOSTIC
lockmgr_printinfo(&up->u_lock);
printf("\n");
-
+#endif
return (0);
}