diff options
| author | njoly <njoly@NetBSD.org> | 2008-12-29 22:21:49 +0000 |
|---|---|---|
| committer | njoly <njoly@NetBSD.org> | 2008-12-29 22:21:49 +0000 |
| commit | e85166daa85f1f3df155f04adfc6e2da58425c67 (patch) | |
| tree | c358579ce7bb08b7011484024775a22a1e0f683b /sys/compat/linux/common/linux_misc_notalpha.c | |
| parent | f8829b7dcb71749eda1811e47241bff0ee48f465 (diff) | |
Fix stime(2) inverted copyin arguments.
Diffstat (limited to 'sys/compat/linux/common/linux_misc_notalpha.c')
| -rw-r--r-- | sys/compat/linux/common/linux_misc_notalpha.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/common/linux_misc_notalpha.c b/sys/compat/linux/common/linux_misc_notalpha.c index 1ca152a40ca..8a1a9852b53 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.104 2008/10/03 22:39:36 njoly Exp $ */ +/* $NetBSD: linux_misc_notalpha.c,v 1.105 2008/12/29 22:21:49 njoly Exp $ */ /*- * Copyright (c) 1995, 1998, 2008 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_misc_notalpha.c,v 1.104 2008/10/03 22:39:36 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_misc_notalpha.c,v 1.105 2008/12/29 22:21:49 njoly Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -388,7 +388,7 @@ linux_sys_stime(struct lwp *l, const struct linux_sys_stime_args *uap, register_ linux_time_t tt; int error; - if ((error = copyin(&tt, SCARG(uap, t), sizeof tt)) != 0) + if ((error = copyin(SCARG(uap, t), &tt, sizeof tt)) != 0) return error; ats.tv_sec = tt; |
