Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/common This should be "linux_sg_version", n...
details: https://anonhg.NetBSD.org/src/rev/99a3472f1f67
branches: trunk
changeset: 357689:99a3472f1f67
user: maxv <maxv%NetBSD.org@localhost>
date: Tue Nov 21 10:45:12 2017 +0000
description:
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 b2e8e6495821 -r 99a3472f1f67 sys/compat/linux/common/linux_sg.c
--- a/sys/compat/linux/common/linux_sg.c Tue Nov 21 10:42:44 2017 +0000
+++ b/sys/compat/linux/common/linux_sg.c Tue Nov 21 10:45:12 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.14 2017/11/21 10:45:12 maxv 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.14 2017/11/21 10:45:12 maxv 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