summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-08-13 17:06:06 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-08-13 17:06:06 +0000
commitdec437a7393c2e752a63faab53bf8fdef28997de (patch)
tree9deafa60519e6d168a8b8de0fbc3782c175a3b38
parent2d807489bbbb7219e40f2870d006b997837a71ae (diff)
typo
-rw-r--r--sys/arch/sgi/sgi/mutex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/sgi/mutex.c b/sys/arch/sgi/sgi/mutex.c
index 687f0cb1486..8e9202d3588 100644
--- a/sys/arch/sgi/sgi/mutex.c
+++ b/sys/arch/sgi/sgi/mutex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mutex.c,v 1.5 2009/08/13 13:24:55 weingart Exp $ */
+/* $OpenBSD: mutex.c,v 1.6 2009/08/13 17:06:05 miod Exp $ */
/*
* Copyright (c) 2004 Artur Grabowski <art@openbsd.org>
@@ -62,7 +62,7 @@ int
mtx_enter_try(struct mutex *mtx)
{
if (mtx->mtx_wantipl != IPL_NONE)
- mtx->mtx_oldipl = splraise(imask[mtx->mtx_wantipl]);
+ mtx->mtx_oldcpl = splraise(imask[mtx->mtx_wantipl]);
MUTEX_ASSERT_UNLOCKED(mtx);
mtx->mtx_lock = 1;