Module Name: src Committed By: martin Date: Fri Aug 9 09:52:48 UTC 2019
Modified Files: src/sbin/reboot [netbsd-9]: reboot.c Log Message: 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 <swild...@dragonflybsd.org> To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.40.32.1 src/sbin/reboot/reboot.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sbin/reboot/reboot.c diff -u src/sbin/reboot/reboot.c:1.40 src/sbin/reboot/reboot.c:1.40.32.1 --- src/sbin/reboot/reboot.c:1.40 Sun Nov 4 22:28:16 2012 +++ src/sbin/reboot/reboot.c Fri Aug 9 09:52:48 2019 @@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 19 #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 @@ main(int argc, char *argv[]) logwtmp("~", "shutdown", ""); #endif #ifdef SUPPORT_UTMPX - logwtmpx("~", "shutdown", "", INIT_PROCESS, 0); + logwtmpx("~", "shutdown", "", 0, INIT_PROCESS); #endif /*