diff options
| author | Mike Smith <msmith@FreeBSD.org> | 1998-10-31 02:53:12 +0000 |
|---|---|---|
| committer | Mike Smith <msmith@FreeBSD.org> | 1998-10-31 02:53:12 +0000 |
| commit | dc8be6a8f57974d5fdcf48fea0bee0272fc08c1d (patch) | |
| tree | b6ef424aae6425b6834059e82c324d55d4eaa6e6 /sys/boot/common/boot.c | |
| parent | 2baf3bb5a02e424dc38b6b9f9ce0969e040e313f (diff) | |
Notes
Diffstat (limited to 'sys/boot/common/boot.c')
| -rw-r--r-- | sys/boot/common/boot.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/boot/common/boot.c b/sys/boot/common/boot.c index 608c9d02a921..872840bec203 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.6 1998/10/11 10:10:41 peter Exp $ + * $Id: boot.c,v 1.7 1998/10/14 00:41:17 peter Exp $ */ /* @@ -203,11 +203,13 @@ 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 seconds... ", getbootfile(0), (int)(when - ntime)); otime = ntime; cr = 1; } } + if (yes) + printf("\rBooting [%s]... ", getbootfile(0)); if (cr) putchar('\n'); if (yes) { @@ -245,7 +247,7 @@ getbootfile(int try) try--; } if (spec != NULL) { - if ((ep = strchr(spec, ',')) != NULL) { + if ((ep = strchr(spec, ';')) != NULL) { len = ep - spec; } else { len = strlen(spec); |
