Source-Changes-HG archive

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

[src/netbsd-9]: src/sbin/reboot Pull up following revision(s) (requested by r...



details:   https://anonhg.NetBSD.org/src/rev/19ce89f19292
branches:  netbsd-9
changeset: 462319:19ce89f19292
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Aug 09 09:52:48 2019 +0000

description:
Pull up following revision(s) (requested by roy in ticket #34):

        sbin/reboot/reboot.c: revision 1.41

reboot: fix arg order for logwtmpx(3)
Matches the correct order from init(8).

Thanks to Sascha Wildner <swildner%dragonflybsd.org@localhost>

diffstat:

 sbin/reboot/reboot.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5f066446094d -r 19ce89f19292 sbin/reboot/reboot.c
--- a/sbin/reboot/reboot.c      Fri Aug 09 06:21:00 2019 +0000
+++ b/sbin/reboot/reboot.c      Fri Aug 09 09:52:48 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: reboot.c,v 1.40 2012/11/04 22:28:16 christos Exp $     */
+/*     $NetBSD: reboot.c,v 1.40.32.1 2019/08/09 09:52:48 martin Exp $  */
 
 /*
  * Copyright (c) 1980, 1986, 1993
@@ -40,7 +40,7 @@
 #if 0
 static char sccsid[] = "@(#)reboot.c   8.1 (Berkeley) 6/5/93";
 #else
-__RCSID("$NetBSD: reboot.c,v 1.40 2012/11/04 22:28:16 christos Exp $");
+__RCSID("$NetBSD: reboot.c,v 1.40.32.1 2019/08/09 09:52:48 martin Exp $");
 #endif
 #endif /* not lint */
 
@@ -169,7 +169,7 @@
        logwtmp("~", "shutdown", "");
 #endif
 #ifdef SUPPORT_UTMPX
-       logwtmpx("~", "shutdown", "", INIT_PROCESS, 0);
+       logwtmpx("~", "shutdown", "", 0, INIT_PROCESS);
 #endif
 
        /*



Home | Main Index | Thread Index | Old Index