]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: Print autoboot countdown immediately, not at 9
authorjrtc27 <jrtc27@FreeBSD.org>
Mon, 14 Dec 2020 00:46:24 +0000 (00:46 +0000)
committerjrtc27 <jrtc27@FreeBSD.org>
Mon, 14 Dec 2020 00:46:24 +0000 (00:46 +0000)
commitd11c1cf1b1d5d6689727f2f39b850c66d619f2cb
tree74b25e1609737e9dd48f0414418e79ac2e8e1eec
parenta8001da7109ee77ccc45814f1d100c92a345e654
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