summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormikeb <mikeb@openbsd.org>2012-09-10 09:41:58 +0000
committermikeb <mikeb@openbsd.org>2012-09-10 09:41:58 +0000
commita0183f6d06ee28d9be5b38c43c334a9c8800fb3c (patch)
tree53fbc076eb13f105e38c82c02b4b9fbb77afd6d8 /sys
parentdrop the unencrypted packets when the MPPE is required. This was (diff)
downloadwireguard-openbsd-a0183f6d06ee28d9be5b38c43c334a9c8800fb3c.tar.xz
wireguard-openbsd-a0183f6d06ee28d9be5b38c43c334a9c8800fb3c.zip
autoconf is not the right place to sleep; noticed by haesbaert
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/mpii.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c
index 5ffa5596b24..5aff819a97a 100644
--- a/sys/dev/pci/mpii.c
+++ b/sys/dev/pci/mpii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpii.c,v 1.66 2012/09/07 19:10:39 mikeb Exp $ */
+/* $OpenBSD: mpii.c,v 1.67 2012/09/10 09:41:58 mikeb Exp $ */
/*
* Copyright (c) 2010 Mike Belopuhov <mkb@crypt.org.ru>
* Copyright (c) 2009 James Giannoules
@@ -3492,7 +3492,7 @@ mpii_create_sensors(struct mpii_softc *sc)
int i;
sc->sc_sensors = malloc(sizeof(struct ksensor) * sc->sc_vd_count,
- M_DEVBUF, M_WAITOK | M_CANFAIL | M_ZERO);
+ M_DEVBUF, M_NOWAIT | M_ZERO);
if (sc->sc_sensors == NULL)
return (1);
sc->sc_nsensors = sc->sc_vd_count;