aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/fhc
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2003-02-19 17:29:07 +0000
committerJake Burkholder <jake@FreeBSD.org>2003-02-19 17:29:07 +0000
commitb41be772ad5032276bed29bef6c2e9adc313df54 (patch)
tree2b24cde5e2c2f5e9f0678a8528ca0161c511eca9 /sys/sparc64/fhc
parenta5902eaf0c566fd3733812e6ee159148bc8c7a71 (diff)
downloadsrc-b41be772ad5032276bed29bef6c2e9adc313df54.tar.gz
src-b41be772ad5032276bed29bef6c2e9adc313df54.zip
Missed a missing M_WAITOK.
Notes
Notes: svn path=/head/; revision=111135
Diffstat (limited to 'sys/sparc64/fhc')
-rw-r--r--sys/sparc64/fhc/fhc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/fhc/fhc.c b/sys/sparc64/fhc/fhc.c
index f12bbc9dc7b2..15d3880420a8 100644
--- a/sys/sparc64/fhc/fhc.c
+++ b/sys/sparc64/fhc/fhc.c
@@ -229,7 +229,7 @@ fhc_setup_intr(device_t bus, device_t child, struct resource *r, int flags,
sc = device_get_softc(bus);
rid = rman_get_rid(r);
- fc = malloc(sizeof(*fc), M_DEVBUF, M_ZERO);
+ fc = malloc(sizeof(*fc), M_DEVBUF, M_WAITOK | M_ZERO);
fc->fc_func = func;
fc->fc_arg = arg;
fc->fc_bt = sc->sc_bt[rid];