Module Name: src
Committed By: maxv
Date: Tue Nov 21 10:45:12 UTC 2017
Modified Files:
src/sys/compat/linux/common: linux_sg.c
Log Message:
This should be "linux_sg_version", not "version".
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/compat/linux/common/linux_sg.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/common/linux_sg.c
diff -u src/sys/compat/linux/common/linux_sg.c:1.13 src/sys/compat/linux/common/linux_sg.c:1.14
--- src/sys/compat/linux/common/linux_sg.c:1.13 Fri Mar 21 21:54:58 2008
+++ src/sys/compat/linux/common/linux_sg.c Tue Nov 21 10:45:12 2017
@@ -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 @@ linux_ioctl_sg(struct lwp *l, const stru
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;
}