From 18547190677db9cbe8e99e64e4eb99066a517087 Mon Sep 17 00:00:00 2001 From: Nick Hibma Date: Thu, 15 Jul 1999 20:40:52 +0000 Subject: [PATCH] The boot countdown timer says it will boot in 1 seconds, which is grammatically incorrect. PR: 12628 Submitted-By: R. Matthew Emerson --- sys/boot/common/boot.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/boot/common/boot.c b/sys/boot/common/boot.c index dc62abe250f0..28accc38ce63 100644 --- a/sys/boot/common/boot.c +++ b/sys/boot/common/boot.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: boot.c,v 1.11 1999/05/28 08:01:52 brian Exp $ + * $Id: boot.c,v 1.12 1999/05/30 10:45:03 dfr Exp $ */ /* @@ -202,7 +202,9 @@ autoboot(int delay, char *prompt) break; } if (ntime != otime) { - printf("\rBooting [%s] in %d seconds... ", getbootfile(0), (int)(when - ntime)); + printf("\rBooting [%s] in %d second%s... ", + getbootfile(0), (int)(when - ntime), + (when-ntime)==1?"":"s"); otime = ntime; } }