summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ic/mfi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c
index 72a1564da18..247952cbccb 100644
--- a/sys/dev/ic/mfi.c
+++ b/sys/dev/ic/mfi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mfi.c,v 1.95 2009/04/30 01:24:05 marco Exp $ */
+/* $OpenBSD: mfi.c,v 1.96 2010/01/03 14:57:10 chl Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
*
@@ -1920,7 +1920,7 @@ mfi_create_sensors(struct mfi_softc *sc)
return (1);
sc->sc_sensors = malloc(sizeof(struct ksensor) * sc->sc_ld_cnt,
- M_DEVBUF, M_WAITOK|M_ZERO);
+ M_DEVBUF, M_WAITOK | M_CANFAIL | M_ZERO);
if (sc->sc_sensors == NULL)
return (1);