Source-Changes-HG archive

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

[src/trunk]: src/sys/net Correct the argument order of ifreqn2o conversion.



details:   https://anonhg.NetBSD.org/src/rev/412c050cd4b3
branches:  trunk
changeset: 755611:412c050cd4b3
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Jun 12 08:12:03 2010 +0000

description:
Correct the argument order of ifreqn2o conversion.

Fixes PR/42585.

diffstat:

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

diffs (27 lines):

diff -r a9c584a85879 -r 412c050cd4b3 sys/net/if.c
--- a/sys/net/if.c      Sat Jun 12 07:13:54 2010 +0000
+++ b/sys/net/if.c      Sat Jun 12 08:12:03 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.c,v 1.243 2010/06/02 23:41:14 dyoung Exp $  */
+/*     $NetBSD: if.c,v 1.244 2010/06/12 08:12:03 skrll 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.243 2010/06/02 23:41:14 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.244 2010/06/12 08:12:03 skrll Exp $");
 
 #include "opt_inet.h"
 
@@ -1817,7 +1817,7 @@
        }
 #ifdef COMPAT_OIFREQ
        if (cmd != ocmd)
-               ifreqn2o(oifr, ifr);
+               ifreqn2o(ifr, oifr);
 #endif
 
        return error;



Home | Main Index | Thread Index | Old Index