]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r285742:
authored <ed@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 20 Aug 2015 08:34:13 +0000 (08:34 +0000)
committered <ed@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 20 Aug 2015 08:34:13 +0000 (08:34 +0000)
commit10d673e6acf2f203a854924a8162f31f4ce002a6
tree250a616b94adb547eb776b37e6510e79f03a6377
parent6b25fc86142e1506648805408dffb7efa5c5cc34
MFC r285742:

  Unbreak "last reboot".

  According to the last(1) man page, the "reboot" pseudo-user should print
  all system reboot entries. This got broken by the utmpx import, as
  records are typed.

  Re-add support for "last reboot" by specifically matching against
  SHUTDOWN_TIME and BOOT_TIME records.

PR:           168844
Submitted by: matthew@

git-svn-id: svn://svn.freebsd.org/base/stable/10@286952 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/last/last.c