From e8edc17986bd6a3062f75dba8543dfa7eb4451b7 Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 27 Dec 2004 05:18:22 +0000 Subject: [PATCH] lock using Lock instead of QLock. qlocks are complicated enough that they need to be able to print during debugging. --- src/lib9/fmtlock2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib9/fmtlock2.c b/src/lib9/fmtlock2.c index d56eed74..d711e6d4 100644 --- a/src/lib9/fmtlock2.c +++ b/src/lib9/fmtlock2.c @@ -1,16 +1,16 @@ #include #include -static QLock fmtlock; +static Lock fmtlock; void __fmtlock(void) { - qlock(&fmtlock); + lock(&fmtlock); } void __fmtunlock(void) { - qunlock(&fmtlock); + unlock(&fmtlock); }