]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: Print autoboot countdown immediately, not at 9
authorJessica Clarke <jrtc27@FreeBSD.org>
Mon, 14 Dec 2020 00:46:24 +0000 (00:46 +0000)
committerJessica Clarke <jrtc27@FreeBSD.org>
Mon, 14 Dec 2020 00:46:24 +0000 (00:46 +0000)
commitc46f7610d4c5a57fdb2aac5fcbf66aa7124ec703
tree74b25e1609737e9dd48f0414418e79ac2e8e1eec
parent0066de1c4b72e9283e2098f4db6aea77832ea0ad
loader: Print autoboot countdown immediately, not at 9

For the first second otime and ntime are equal so no message gets
printed. Instead we should print the countdown right from the start,
although we do it at the end of the first iteration so that if a key has
already been pressed then the message is suppressed.

Reviewed by: imp
Approved by: imp
Differential Revision: https://reviews.freebsd.org/D26935
stand/common/boot.c