diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2010-01-03 14:57:11 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2010-01-03 14:57:11 +0000 |
commit | 86ca804452ddaa9c534cb7def8fce3e2fc5facbd (patch) | |
tree | 22fe776160caedacb5eae2a2f3c8ee47c121fd7c /sys/dev | |
parent | 49a2ec610563c287ce3aee467f1057ea37d8e1ec (diff) |
change M_WAITOK --> M_WAITOK|M_CANFAIL
with input from marco@
ok marco@ krw@
this was ok looooooooong time ago but lost in my mailbox
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/mfi.c | 4 |
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); |