copyinstr(9) takes parameter 'len' as a size_t *, not int *.
PR: kern/91293 Submitted by: "Pedro f. Giffuni" <giffunip asme org> Obtained from: NetBSD
This commit is contained in:
parent
5abf6d12a5
commit
0339972dd9
@ -120,7 +120,8 @@ svr4_add_socket(td, path, st)
|
||||
struct stat *st;
|
||||
{
|
||||
struct svr4_sockcache_entry *e;
|
||||
int len, error;
|
||||
size_t len;
|
||||
int error;
|
||||
|
||||
e = malloc(sizeof(*e), M_TEMP, M_WAITOK);
|
||||
e->cookie = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user