From ff83e633bb43bda36fcd433113f4d808ed55cd3a Mon Sep 17 00:00:00 2001 From: rjs Date: Mon, 10 Aug 2009 17:36:00 +0000 Subject: [PATCH] Add enum uio_seg argument to do_sys_mknod(). --- sys/compat/svr4_32/svr4_32_misc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/compat/svr4_32/svr4_32_misc.c b/sys/compat/svr4_32/svr4_32_misc.c index 763f49815c63..4d03facffb0d 100644 --- a/sys/compat/svr4_32/svr4_32_misc.c +++ b/sys/compat/svr4_32/svr4_32_misc.c @@ -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 -__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 #include @@ -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); } }