summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/boot.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1998-10-31 02:53:12 +0000
committermsmith <msmith@FreeBSD.org>1998-10-31 02:53:12 +0000
commit27a325f1057840588fa18b5c5bc897228707910b (patch)
tree19a93f1ae5b8adea2f1faee80d1c2160d917e50a /sys/boot/common/boot.c
parente6108119c4a18c3dd11e5fda0bbd6b84a63a923f (diff)
downloadFreeBSD-src-27a325f1057840588fa18b5c5bc897228707910b.zip
FreeBSD-src-27a325f1057840588fa18b5c5bc897228707910b.tar.gz
- Add a new command 'lsdev' to list devices which might be likely to host
filesystems. - New 'help' command and data in the help.* files (not yet installed), provides topic and subtopic help, indexes, etc. - Don't crash if the user tries to set an invalid console. Be helpful instead. - Expand tabs (badly) on the i386 video console. - Some minor cosmetic changes.
Diffstat (limited to 'sys/boot/common/boot.c')
-rw-r--r--sys/boot/common/boot.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/boot/common/boot.c b/sys/boot/common/boot.c
index 608c9d0..872840b 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);
OpenPOWER on IntegriCloud