summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2009-08-13 17:06:05 +0000
committermiod <miod@openbsd.org>2009-08-13 17:06:05 +0000
commit11f3e1f2eae42dd2d1e20b8ee37649be05a940fb (patch)
tree314e5cfebe60cf373d8d04f31948d66faeb718b3
parentrewrite the promisc mode / multicast handling code for the sparc hme(4) (diff)
downloadwireguard-openbsd-11f3e1f2eae42dd2d1e20b8ee37649be05a940fb.tar.xz
wireguard-openbsd-11f3e1f2eae42dd2d1e20b8ee37649be05a940fb.zip
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;