summaryrefslogtreecommitdiff
path: root/sys/scsi/safte.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/scsi/safte.c')
-rw-r--r--sys/scsi/safte.c4
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;