diff options
Diffstat (limited to 'sys/netncp/ncp_subr.c')
-rw-r--r-- | sys/netncp/ncp_subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netncp/ncp_subr.c b/sys/netncp/ncp_subr.c index 4f7e5f0..a55e535 100644 --- a/sys/netncp/ncp_subr.c +++ b/sys/netncp/ncp_subr.c @@ -69,7 +69,7 @@ ncp_str_dup(char *s) { len++; if (bt == 0) break; } - MALLOC(p, char*, len, M_NCPDATA, 0); + MALLOC(p, char*, len, M_NCPDATA, M_WAITOK); copyin(s, p, len); return p; } |