Add enum uio_seg argument to do_sys_mknod().

This commit is contained in:
rjs 2009-08-10 17:36:00 +00:00
parent 0ad7ebe8ea
commit ff83e633bb
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: svr4_32_misc.c,v 1.64 2009/01/11 13:14:14 nakayama Exp $ */
/* $NetBSD: svr4_32_misc.c,v 1.65 2009/08/10 17:36:00 rjs Exp $ */
/*-
* Copyright (c) 1994, 2008 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: svr4_32_misc.c,v 1.64 2009/01/11 13:14:14 nakayama Exp $");
__KERNEL_RCSID(0, "$NetBSD: svr4_32_misc.c,v 1.65 2009/08/10 17:36:00 rjs Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -535,7 +535,7 @@ svr4_32_mknod(struct lwp *l, register_t *retval, const char *path, svr4_32_mode_
SCARG(&ap, mode) = mode;
return sys_mkfifo(l, &ap, retval);
} else {
return do_sys_mknod(l, path, mode, dev, retval);
return do_sys_mknod(l, path, mode, dev, retval, UIO_USERSPACE);
}
}