summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authormaxv <maxv@NetBSD.org>2017-11-21 10:45:12 +0000
committermaxv <maxv@NetBSD.org>2017-11-21 10:45:12 +0000
commitefc379f0cec9fba9daa6446484fbbaa1ecfd88da (patch)
tree065a35d5492e30855274c5960cbc723223fdcfa0 /sys/compat/linux
parentf0a0e01ebe84ff92576fff66a31b819af88cd620 (diff)
This should be "linux_sg_version", not "version".
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/common/linux_sg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/common/linux_sg.c b/sys/compat/linux/common/linux_sg.c
index 68cf20e9175..969adac61ec 100644
--- a/sys/compat/linux/common/linux_sg.c
+++ b/sys/compat/linux/common/linux_sg.c
@@ -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 struct linux_sys_ioctl_args *uap,
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;
}