Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin fix argument order.



details:   https://anonhg.NetBSD.org/src/rev/9c7ca7229f6c
branches:  trunk
changeset: 534753:9c7ca7229f6c
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Aug 02 14:06:07 2002 +0000

description:
fix argument order.

diffstat:

 usr.sbin/pppd/pppd/auth.c         |  6 +++---
 usr.sbin/rpc.pcnfsd/pcnfsd_misc.c |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r ea6063c99dc0 -r 9c7ca7229f6c usr.sbin/pppd/pppd/auth.c
--- a/usr.sbin/pppd/pppd/auth.c Fri Aug 02 14:03:22 2002 +0000
+++ b/usr.sbin/pppd/pppd/auth.c Fri Aug 02 14:06:07 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: auth.c,v 1.31 2002/08/02 02:52:07 christos Exp $       */
+/*     $NetBSD: auth.c,v 1.32 2002/08/02 14:06:54 christos Exp $       */
 
 /*
  * auth.c - PPP authentication and phase control.
@@ -62,7 +62,7 @@
 #if 0
 #define RCSID  "Id: auth.c,v 1.69 2001/03/12 22:50:01 paulus Exp "
 #else
-__RCSID("$NetBSD: auth.c,v 1.31 2002/08/02 02:52:07 christos Exp $");
+__RCSID("$NetBSD: auth.c,v 1.32 2002/08/02 14:06:54 christos Exp $");
 #endif
 #endif
 
@@ -1269,7 +1269,7 @@
     logwtmp(tty, "", "");              /* Wipe out utmp logout entry */
 #endif
 #ifdef SUPPORT_UTMPX
-    logwtmpx(tty, "", "", DEAD_PROCESS, 0);    /* Wipe out utmp logout entry */
+    logwtmpx(tty, "", "", 0, DEAD_PROCESS);    /* Wipe out utmp logout entry */
 #endif
 #endif /* ! USE_PAM */
     logged_in = 0;
diff -r ea6063c99dc0 -r 9c7ca7229f6c usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
--- a/usr.sbin/rpc.pcnfsd/pcnfsd_misc.c Fri Aug 02 14:03:22 2002 +0000
+++ b/usr.sbin/rpc.pcnfsd/pcnfsd_misc.c Fri Aug 02 14:06:07 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcnfsd_misc.c,v 1.7 2002/08/02 02:49:27 christos Exp $ */
+/*     $NetBSD: pcnfsd_misc.c,v 1.8 2002/08/02 14:06:07 christos Exp $ */
 
 /* RE_SID: @(%)/usr/dosnfs/shades_SCCS/unix/pcnfsd/v2/src/SCCS/s.pcnfsd_misc.c 1.5 92/01/24 19:59:13 SMI */
 /*
@@ -323,7 +323,7 @@
        logwtmp("PC-NFS", name, host);
 #endif
 #ifdef SUPPORT_UTMPX
-       logwtmpx("PC-NFS", name, host, USER_PROCESS, 0);
+       logwtmpx("PC-NFS", name, host, 0, USER_PROCESS);
 #endif
 }
 #endif                         /* WTMP */



Home | Main Index | Thread Index | Old Index