Source-Changes-HG archive

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

[src/trunk]: src/sys/net PR/44030: Onno van der Linden: ifreqn2o gets called ...



details:   https://anonhg.NetBSD.org/src/rev/4715d6f9e320
branches:  trunk
changeset: 758350:4715d6f9e320
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Nov 02 22:34:21 2010 +0000

description:
PR/44030: Onno van der Linden: ifreqn2o gets called with the parameters the
wrong way around in /sys/net/if.c

diffstat:

 sys/net/if.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 33038000aad3 -r 4715d6f9e320 sys/net/if.c
--- a/sys/net/if.c      Tue Nov 02 20:49:47 2010 +0000
+++ b/sys/net/if.c      Tue Nov 02 22:34:21 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.c,v 1.245 2010/09/23 21:16:42 christos Exp $        */
+/*     $NetBSD: if.c,v 1.246 2010/11/02 22:34:21 christos Exp $        */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.245 2010/09/23 21:16:42 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.246 2010/11/02 22:34:21 christos Exp $");
 
 #include "opt_inet.h"
 
@@ -1817,7 +1817,7 @@
        }
 #ifdef COMPAT_OIFREQ
        if (cmd != ocmd)
-               ifreqn2o(ifr, oifr);
+               ifreqn2o(oifr, ifr);
 #endif
 
        return error;



Home | Main Index | Thread Index | Old Index