Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/arch/alpha make this compile again.



details:   https://anonhg.NetBSD.org/src/rev/3227c5f90e4a
branches:  trunk
changeset: 840151:3227c5f90e4a
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Mar 26 02:05:28 2019 +0000

description:
make this compile again.

diffstat:

 sys/compat/linux/arch/alpha/linux_osf1.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0a27e2f6186d -r 3227c5f90e4a sys/compat/linux/arch/alpha/linux_osf1.c
--- a/sys/compat/linux/arch/alpha/linux_osf1.c  Tue Mar 26 00:36:14 2019 +0000
+++ b/sys/compat/linux/arch/alpha/linux_osf1.c  Tue Mar 26 02:05:28 2019 +0000
@@ -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 @@
        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);



Home | Main Index | Thread Index | Old Index