summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2012-03-31 20:20:32 +0000
committermiod <miod@openbsd.org>2012-03-31 20:20:32 +0000
commitda835ee57a8fdd20290aa42bee2d86b417c0fe28 (patch)
treef936eb84099a86afb2e3565df4e6a6bf74348609
parenterr(1, NULL) can drive people insane, so please avoid it. (diff)
downloadwireguard-openbsd-da835ee57a8fdd20290aa42bee2d86b417c0fe28.tar.xz
wireguard-openbsd-da835ee57a8fdd20290aa42bee2d86b417c0fe28.zip
softintr_establish() takes IPL_xxx, not SI_xxx (harmless here since they turned
out to be the same value).
-rw-r--r--sys/arch/sgi/hpc/zs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/hpc/zs.c b/sys/arch/sgi/hpc/zs.c
index c8ce8b74102..63150d3867b 100644
--- a/sys/arch/sgi/hpc/zs.c
+++ b/sys/arch/sgi/hpc/zs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zs.c,v 1.1 2012/03/28 20:44:23 miod Exp $ */
+/* $OpenBSD: zs.c,v 1.2 2012/03/31 20:20:32 miod Exp $ */
/* $NetBSD: zs.c,v 1.37 2011/02/20 07:59:50 matt Exp $ */
/*-
@@ -288,7 +288,7 @@ zs_hpc_attach(struct device *parent, struct device *self, void *aux)
}
- zsc->sc_si = softintr_establish(SI_SOFTTTY, zssoft, zsc);
+ zsc->sc_si = softintr_establish(IPL_SOFTTTY, zssoft, zsc);
int2_intr_establish(haa->ha_irq, IPL_TTY, zshard, zsc, self->dv_xname);
/*