Module Name: src
Committed By: christos
Date: Tue Mar 26 02:05:28 UTC 2019
Modified Files:
src/sys/compat/linux/arch/alpha: linux_osf1.c
Log Message:
make this compile again.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/linux/arch/alpha/linux_osf1.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/compat/linux/arch/alpha/linux_osf1.c
diff -u src/sys/compat/linux/arch/alpha/linux_osf1.c:1.1 src/sys/compat/linux/arch/alpha/linux_osf1.c:1.2
--- src/sys/compat/linux/arch/alpha/linux_osf1.c:1.1 Sun Mar 24 12:24:19 2019
+++ src/sys/compat/linux/arch/alpha/linux_osf1.c Mon Mar 25 22:05:28 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_osf1.c,v 1.1 2019/03/24 16:24:19 maxv Exp $ */
+/* $NetBSD: linux_osf1.c,v 1.2 2019/03/26 02:05:28 christos Exp $ */
/*
* Copyright (c) 1999 Christopher G. Demetriou. All rights reserved.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_osf1.c,v 1.1 2019/03/24 16:24:19 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_osf1.c,v 1.2 2019/03/26 02:05:28 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -419,7 +419,7 @@ linux_sys_osf1_gettimeofday(struct lwp *
memset(&otv, 0, sizeof otv);
otv.tv_sec = tv.tv_sec;
otv.tv_usec = tv.tv_usec;
- error = copyout(&otv, SCARG(uap, tp), sizeof otv);
+ error = copyout(&otv, SCARG(uap, tv), sizeof otv);
if (error == 0 && SCARG(uap, tzp) != NULL) {
memset(&otz, 0, sizeof otz);