Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Correct SIMPLELOCK_INITIALIZER for the LOCKDEBUG case.



details:   https://anonhg.NetBSD.org/src/rev/8c767808b427
branches:  trunk
changeset: 487413:8c767808b427
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Jun 07 13:50:40 2000 +0000

description:
Correct SIMPLELOCK_INITIALIZER for the LOCKDEBUG case.

diffstat:

 sys/sys/lock.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r be21423921bd -r 8c767808b427 sys/sys/lock.h
--- a/sys/sys/lock.h    Wed Jun 07 13:39:43 2000 +0000
+++ b/sys/sys/lock.h    Wed Jun 07 13:50:40 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lock.h,v 1.28 2000/06/04 15:18:08 thorpej Exp $        */
+/*     $NetBSD: lock.h,v 1.29 2000/06/07 13:50:40 thorpej Exp $        */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -108,8 +108,8 @@
 };
 
 #ifdef LOCKDEBUG
-#define        SIMPLELOCK_INITIALIZER  { __SIMPLELOCK_UNLOCKED, NULL, 0, NULL, 0, \
-                                 { NULL, NULL }, 0 }
+#define        SIMPLELOCK_INITIALIZER  { __SIMPLELOCK_UNLOCKED, NULL, NULL, 0, \
+                                 0, { NULL, NULL }, 0 }
 #else
 #define        SIMPLELOCK_INITIALIZER  { __SIMPLELOCK_UNLOCKED }
 #endif



Home | Main Index | Thread Index | Old Index