summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 dc62abe..28accc3 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;
}
}
OpenPOWER on IntegriCloud