summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_misc_notalpha.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2005-12-11 12:16:03 +0000
committerchristos <christos@NetBSD.org>2005-12-11 12:16:03 +0000
commit95e1ffb15694e54f29f8baaa4232152b703c2a5a (patch)
treed6510e195bc06092a8057e34c6442eba4e77d09a /sys/compat/linux/common/linux_misc_notalpha.c
parent4f17ba81bcaf3f5086d88a346cbfd12506a5e3e6 (diff)
merge ktrace-lwp.
Diffstat (limited to 'sys/compat/linux/common/linux_misc_notalpha.c')
-rw-r--r--sys/compat/linux/common/linux_misc_notalpha.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/linux/common/linux_misc_notalpha.c b/sys/compat/linux/common/linux_misc_notalpha.c
index 4cc721219da..5a0ccd9d6c3 100644
--- a/sys/compat/linux/common/linux_misc_notalpha.c
+++ b/sys/compat/linux/common/linux_misc_notalpha.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_misc_notalpha.c,v 1.75 2005/12/05 00:16:34 christos Exp $ */
+/* $NetBSD: linux_misc_notalpha.c,v 1.76 2005/12/11 12:20:19 christos Exp $ */
/*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_misc_notalpha.c,v 1.75 2005/12/05 00:16:34 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_misc_notalpha.c,v 1.76 2005/12/11 12:20:19 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -275,7 +275,7 @@ linux_sys_utime(l, v, retval)
sg = stackgap_init(p, 0);
tvp = (struct timeval *) stackgap_alloc(p, &sg, sizeof(tv));
- CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
+ CHECK_ALT_EXIST(l, &sg, SCARG(uap, path));
SCARG(&ua, path) = SCARG(uap, path);
@@ -482,7 +482,7 @@ linux_sys_statfs64(l, v, retval)
sg = stackgap_init(p, 0);
bsp = (struct statvfs *) stackgap_alloc(p, &sg, sizeof (struct statvfs));
- CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
+ CHECK_ALT_EXIST(l, &sg, SCARG(uap, path));
SCARG(&bsa, path) = SCARG(uap, path);
SCARG(&bsa, buf) = bsp;