The fourth parameter to copystr() is a size_t, not an int.

Approved by:	peter
This commit is contained in:
mux 2002-04-08 21:14:19 +00:00
parent 2d373c5269
commit bf7d877bcd
2 changed files with 4 additions and 2 deletions

View File

@ -221,7 +221,8 @@ kernel_vmount(int flags, ...)
unsigned int iovcnt, iovlen, len;
const char *cp;
char *buf, *pos;
int error, i, n;
size_t n;
int error, i;
len = 0;
va_start(ap, flags);

View File

@ -221,7 +221,8 @@ kernel_vmount(int flags, ...)
unsigned int iovcnt, iovlen, len;
const char *cp;
char *buf, *pos;
int error, i, n;
size_t n;
int error, i;
len = 0;
va_start(ap, flags);