Module Name:    src
Committed By:   rin
Date:           Fri Oct 12 05:06:05 UTC 2018

Modified Files:
        src/sys/compat/netbsd32: netbsd32_ioctl.c

Log Message:
PR kern/53666
Correct misleading names of dummy variables. No binary changes intended.


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/sys/compat/netbsd32/netbsd32_ioctl.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/netbsd32/netbsd32_ioctl.c
diff -u src/sys/compat/netbsd32/netbsd32_ioctl.c:1.98 src/sys/compat/netbsd32/netbsd32_ioctl.c:1.99
--- src/sys/compat/netbsd32/netbsd32_ioctl.c:1.98	Thu Oct 11 15:23:22 2018
+++ src/sys/compat/netbsd32/netbsd32_ioctl.c	Fri Oct 12 05:06:05 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: netbsd32_ioctl.c,v 1.98 2018/10/11 15:23:22 christos Exp $	*/
+/*	$NetBSD: netbsd32_ioctl.c,v 1.99 2018/10/12 05:06:05 rin Exp $	*/
 
 /*
  * Copyright (c) 1998, 2001 Matthew R. Green
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_ioctl.c,v 1.98 2018/10/11 15:23:22 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_ioctl.c,v 1.99 2018/10/12 05:06:05 rin Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ntp.h"
@@ -1346,7 +1346,7 @@ netbsd32_ioctl(struct lwp *l, const stru
 	case BIOCGDLTLIST32:
 		IOCTL_STRUCT_CONV_TO(BIOCGDLTLIST, bpf_dltlist);
 	case BIOCSRTIMEOUT32:
-#define netbsd32_to_timeval(p, s32p, cmd) netbsd32_to_timeval(p, s32p)
+#define netbsd32_to_timeval(s32p, p, cmd) netbsd32_to_timeval(s32p, p)
 #define netbsd32_from_timeval(p, s32p, cmd) netbsd32_from_timeval(p, s32p)
 		IOCTL_STRUCT_CONV_TO(BIOCSRTIMEOUT, timeval);
 #undef netbsd32_to_timeval

Reply via email to