summaryrefslogtreecommitdiff
path: root/sys/nnpfs/nnpfs_syscalls-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nnpfs/nnpfs_syscalls-common.c')
-rw-r--r--sys/nnpfs/nnpfs_syscalls-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nnpfs/nnpfs_syscalls-common.c b/sys/nnpfs/nnpfs_syscalls-common.c
index cfe06490fe4..fb119c64013 100644
--- a/sys/nnpfs/nnpfs_syscalls-common.c
+++ b/sys/nnpfs/nnpfs_syscalls-common.c
@@ -496,7 +496,7 @@ remote_pioctl (d_thread_t *p,
struct nnpfs_message_pioctl *msg = NULL;
struct nnpfs_message_wakeup_data *msg2;
- msg = malloc(sizeof(*msg), M_TEMP, M_WAITOK | M_ZERO);
+ msg = malloc(sizeof(*msg), M_TEMP, M_WAITOK | M_CANFAIL | M_ZERO);
if (msg == NULL) {
error = ENOMEM;
goto done;