Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/compat/linux/common Pull up following revision(s) (re...



details:   https://anonhg.NetBSD.org/src/rev/bf02733eba6b
branches:  netbsd-8
changeset: 434450:bf02733eba6b
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Nov 30 13:44:31 2017 +0000

description:
Pull up following revision(s) (requested by maxv in ticket #400):
        sys/compat/linux/common/linux_sg.c: revision 1.14
This should be "linux_sg_version", not "version".

diffstat:

 sys/compat/linux/common/linux_sg.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2236463b4e1a -r bf02733eba6b sys/compat/linux/common/linux_sg.c
--- a/sys/compat/linux/common/linux_sg.c        Wed Nov 29 15:18:09 2017 +0000
+++ b/sys/compat/linux/common/linux_sg.c        Thu Nov 30 13:44:31 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_sg.c,v 1.13 2008/03/21 21:54:58 ad Exp $ */
+/* $NetBSD: linux_sg.c,v 1.13.84.1 2017/11/30 13:44:31 martin Exp $ */
 
 /*
  * Copyright (c) 2004 Soren S. Jorvang.  All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sg.c,v 1.13 2008/03/21 21:54:58 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sg.c,v 1.13.84.1 2017/11/30 13:44:31 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -88,7 +88,7 @@
        DPRINTF(("Command = %lx\n", com));
        switch (com) {
        case LINUX_SG_GET_VERSION_NUM: {
-               error = copyout(&version, SCARG(uap, data),
+               error = copyout(&linux_sg_version, SCARG(uap, data),
                    sizeof(linux_sg_version));
                break;
        }



Home | Main Index | Thread Index | Old Index