Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Fix LOCKDEBUG build.
details: https://anonhg.NetBSD.org/src/rev/d63ca985d2b4
branches: trunk
changeset: 784771:d63ca985d2b4
user: njoly <njoly%NetBSD.org@localhost>
date: Sat Feb 09 11:04:32 2013 +0000
description:
Fix LOCKDEBUG build.
diffstat:
sys/kern/subr_lockdebug.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a7dbcedb2c85 -r d63ca985d2b4 sys/kern/subr_lockdebug.c
--- a/sys/kern/subr_lockdebug.c Sat Feb 09 03:35:31 2013 +0000
+++ b/sys/kern/subr_lockdebug.c Sat Feb 09 11:04:32 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_lockdebug.c,v 1.47 2013/02/09 00:31:21 christos Exp $ */
+/* $NetBSD: subr_lockdebug.c,v 1.48 2013/02/09 11:04:32 njoly Exp $ */
/*-
* Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_lockdebug.c,v 1.47 2013/02/09 00:31:21 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_lockdebug.c,v 1.48 2013/02/09 11:04:32 njoly Exp $");
#include "opt_ddb.h"
@@ -726,7 +726,7 @@
(long)ld->ld_initaddr);
if (ld->ld_lockops->lo_type == LOCKOPS_CV) {
- (*pr)(" interlock: %#018lx\n", ld->ld_locked);
+ (*pr)(" interlock: %#018lx\n", (long)ld->ld_locked);
} else {
(*pr)("\n"
"shared holds : %18u exclusive: %18u\n"
Home |
Main Index |
Thread Index |
Old Index