summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hibma <n_hibma@FreeBSD.org>1999-07-15 20:40:52 +0000
committerNick Hibma <n_hibma@FreeBSD.org>1999-07-15 20:40:52 +0000
commit18547190677db9cbe8e99e64e4eb99066a517087 (patch)
treed7d1896fee1457ddeae98259f66287932d5d2a1a
parentd5432a043e5c649a4a409325091cda75ce9fb307 (diff)
Notes
-rw-r--r--sys/boot/common/boot.c6
1 files 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;
}
}