diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2010-09-27 19:49:44 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2010-09-27 19:49:44 +0000 |
commit | 0376bc0f26edc35790c0eb0b9726a19b51c636e4 (patch) | |
tree | 8f1ed37c19f822ef1d5ff7d4a3a78800a6e96644 /sys/scsi | |
parent | 8a9feb9f54d7090919e37c94406de7dde4d0abc2 (diff) |
A few M_ZEROs without any M_WAITOK/M_NOWAITs.
Diffstat (limited to 'sys/scsi')
-rw-r--r-- | sys/scsi/safte.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/safte.c b/sys/scsi/safte.c index 58e903e9939..941d621f86e 100644 --- a/sys/scsi/safte.c +++ b/sys/scsi/safte.c @@ -1,4 +1,4 @@ -/* $OpenBSD: safte.c,v 1.45 2010/08/30 02:47:56 matthew Exp $ */ +/* $OpenBSD: safte.c,v 1.46 2010/09/27 19:49:43 thib Exp $ */ /* * Copyright (c) 2005 David Gwynne <dlg@openbsd.org> @@ -583,7 +583,7 @@ safte_bio_blink(struct safte_softc *sc, struct bioc_blink *blink) if (slot >= sc->sc_nslots) return (ENODEV); - op = malloc(sizeof(*op), M_TEMP, M_ZERO); + op = malloc(sizeof(*op), M_TEMP, M_WAITOK|M_ZERO); op->opcode = SAFTE_WRITE_SLOTOP; op->slot = slot; |