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 fd7969a..da0a6d9 100644 --- a/sys/netncp/ncp_subr.c +++ b/sys/netncp/ncp_subr.c @@ -73,7 +73,7 @@ ncp_str_dup(char *s) { len++; if (bt == 0) break; } - MALLOC(p, char*, len, M_NCPDATA, M_WAITOK); + p = malloc(len, M_NCPDATA, M_WAITOK); copyin(s, p, len); return p; } |