summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_conf.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-02-19 22:51:33 +0000
committerphk <phk@FreeBSD.org>2003-02-19 22:51:33 +0000
commit05d8d6e23fae9150a113e8ab8a8544b981fb7e26 (patch)
tree6a84b81914a5a62fe17f47c6567091e10102dbd5 /sys/kern/kern_conf.c
parenta8bc02dcb257f24a8246bb1c31abe58bf12ebd04 (diff)
downloadFreeBSD-src-05d8d6e23fae9150a113e8ab8a8544b981fb7e26.zip
FreeBSD-src-05d8d6e23fae9150a113e8ab8a8544b981fb7e26.tar.gz
Add M_WAITOK
Diffstat (limited to 'sys/kern/kern_conf.c')
-rw-r--r--sys/kern/kern_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c
index 302a8bb..9e4e92a 100644
--- a/sys/kern/kern_conf.c
+++ b/sys/kern/kern_conf.c
@@ -149,7 +149,7 @@ allocdev(void)
LIST_REMOVE(si, si_hash);
} else if (stashed >= DEVT_STASH) {
MALLOC(si, struct cdev *, sizeof(*si), M_DEVT,
- M_USE_RESERVE | M_ZERO);
+ M_USE_RESERVE | M_ZERO | M_WAITOK);
} else {
si = devt_stash + stashed++;
bzero(si, sizeof *si);
OpenPOWER on IntegriCloud