diff options
Diffstat (limited to 'sys/dev/mly/mly.c')
-rw-r--r-- | sys/dev/mly/mly.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c index 71759ce7193f..4fd18801849b 100644 --- a/sys/dev/mly/mly.c +++ b/sys/dev/mly/mly.c @@ -2019,7 +2019,7 @@ mly_cam_rescan_btl(struct mly_softc *sc, int bus, int target) debug_called(1); - if ((ccb = malloc(sizeof(union ccb), M_TEMP, M_ZERO)) == NULL) { + if ((ccb = malloc(sizeof(union ccb), M_TEMP, M_WAITOK | M_ZERO)) == NULL) { mly_printf(sc, "rescan failed (can't allocate CCB)\n"); return; } |