Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/fs/udf Fix malformed DPRINTF() macro



details:   https://anonhg.NetBSD.org/src/rev/8f3af424c0e9
branches:  trunk
changeset: 364625:8f3af424c0e9
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Fri Apr 01 08:26:27 2022 +0000

description:
Fix malformed DPRINTF() macro

diffstat:

 sys/fs/udf/udf_vnops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r dcfdf2b1c5d3 -r 8f3af424c0e9 sys/fs/udf/udf_vnops.c
--- a/sys/fs/udf/udf_vnops.c    Fri Apr 01 07:26:51 2022 +0000
+++ b/sys/fs/udf/udf_vnops.c    Fri Apr 01 08:26:27 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_vnops.c,v 1.121 2022/03/30 13:23:59 christos Exp $ */
+/* $NetBSD: udf_vnops.c,v 1.122 2022/04/01 08:26:27 reinoud Exp $ */
 
 /*
  * Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.121 2022/03/30 13:23:59 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.122 2022/04/01 08:26:27 reinoud Exp $");
 #endif /* not lint */
 
 
@@ -1567,7 +1567,7 @@
        udf_node = VTOI(vp);
 
        if ((error = vn_lock(vp, LK_EXCLUSIVE))) {
-               DPRINTF("lock failed. %p\n", vp);
+               DPRINTF(LOCKING, ("exclusive lock failed for vnode %p\n", vp));
                goto out;
        }
 



Home | Main Index | Thread Index | Old Index