diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2012-11-14 19:50:21 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2012-11-14 19:50:21 +0000 |
commit | 6feceb86abe5981b18b5f7cd21b7fcbd83a2e64d (patch) | |
tree | 82712ff4e397bc2808090155149ca019acff2179 | |
parent | e631d5ab78614ff9c10f2acd98ce07e221d5e660 (diff) |
Notes
-rw-r--r-- | sys/fs/devfs/devfs_devs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/devfs/devfs_devs.c b/sys/fs/devfs/devfs_devs.c index 71caa29b87c9..2ce1ca64d208 100644 --- a/sys/fs/devfs/devfs_devs.c +++ b/sys/fs/devfs/devfs_devs.c @@ -121,7 +121,7 @@ devfs_alloc(int flags) struct cdev *cdev; struct timespec ts; - cdp = malloc(sizeof *cdp, M_CDEVP, M_USE_RESERVE | M_ZERO | + cdp = malloc(sizeof *cdp, M_CDEVP, M_ZERO | ((flags & MAKEDEV_NOWAIT) ? M_NOWAIT : M_WAITOK)); if (cdp == NULL) return (NULL); |