Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/netbsd32 PR kern/53666



details:   https://anonhg.NetBSD.org/src/rev/151962dbf4c7
branches:  trunk
changeset: 433913:151962dbf4c7
user:      rin <rin%NetBSD.org@localhost>
date:      Fri Oct 12 05:06:05 2018 +0000

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

diffstat:

 sys/compat/netbsd32/netbsd32_ioctl.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 77a1355043d2 -r 151962dbf4c7 sys/compat/netbsd32/netbsd32_ioctl.c
--- a/sys/compat/netbsd32/netbsd32_ioctl.c      Fri Oct 12 04:43:50 2018 +0000
+++ b/sys/compat/netbsd32/netbsd32_ioctl.c      Fri Oct 12 05:06:05 2018 +0000
@@ -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 @@
        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



Home | Main Index | Thread Index | Old Index