Date: Sat, 5 Dec 2009 20:26:55 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/init Makefile init.c src/sbin/reboot Makefile reboot.c Message-ID: <200912052027.nB5KR59J073033@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2009-12-05 20:26:55 UTC
FreeBSD src repository
Modified files:
sbin/init Makefile init.c
sbin/reboot Makefile reboot.c
Log:
SVN rev 200161 on 2009-12-05 20:26:55Z by ed
Let init(8) and reboot(8) use utmpx to log wtmp entries.
logwtmp() gets called with the raw strings that are written to disk. For
regular user entries, this isn't too bad, but when booting/shutting
down, the contents get rather cryptic.
Just call the standardized pututxline().
Revision Changes Path
1.36 +2 -2 src/sbin/init/Makefile
1.69 +11 -5 src/sbin/init/init.c
1.17 +2 -2 src/sbin/reboot/Makefile
1.29 +7 -2 src/sbin/reboot/reboot.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912052027.nB5KR59J073033>
