]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
boot(9): update to match reality
authorMitchell Horne <mhorne@FreeBSD.org>
Tue, 28 Sep 2021 14:36:09 +0000 (11:36 -0300)
committerMitchell Horne <mhorne@FreeBSD.org>
Mon, 4 Oct 2021 14:17:05 +0000 (11:17 -0300)
commit26337c10f060e6a25b1708d421056d28a5b608b0
tree2dde7f059d2bde49e610d50db2254a0ff149b9d8
parenta3acb379bdea033ce08b4800cbb5a9c46a673ce1
boot(9): update to match reality

This function was renamed to kern_reboot() in 2010, but the man page has
failed to keep in sync. Bring it up to date on the rename, add the
shutdown hooks to the synopsis, and document the (obvious) fact that
kern_reboot() does not return.

Fix an outdated reference to the old name in kern_reboot(), and leave a
reference to the man page so future readers might find it before any
large changes.

Reviewed by: imp, markj
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32085

(cherry picked from commit 800e74955d4e5f90e7258956ba42228350f71049)
ObsoleteFiles.inc
share/man/man9/Makefile
share/man/man9/kern_reboot.9 [moved from share/man/man9/boot.9 with 85% similarity]
sys/kern/kern_shutdown.c