summaryrefslogtreecommitdiff
path: root/sys/stand/boot/boot.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-05-31 15:48:26 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-05-31 15:48:26 +0000
commitb9e73028305d7ba366d399a30e0c0c4dd0c8beeb (patch)
tree965f2db473b4773f0c7f4ca4a0588aeb94c577df /sys/stand/boot/boot.c
parent2cc841c43433905748c010b0b21db1993c87982b (diff)
usleep won't work on some weird laptops
Diffstat (limited to 'sys/stand/boot/boot.c')
-rw-r--r--sys/stand/boot/boot.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/stand/boot/boot.c b/sys/stand/boot/boot.c
index 65d16c933d5..4c21944877b 100644
--- a/sys/stand/boot/boot.c
+++ b/sys/stand/boot/boot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: boot.c,v 1.8 1997/04/26 17:50:07 mickey Exp $ */
+/* $OpenBSD: boot.c,v 1.9 1997/05/31 15:48:24 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -49,7 +49,7 @@ extern const char version[];
int boothowto;
u_int cnvmem, extmem;
struct cmd_state cmd = {
- "", "bsd", "/etc/boot.conf", "/", (void *)0x100000, 50, ""
+ "", "bsd", "/etc/boot.conf", "/", (void *)0x100000, 5, ""
};
void
@@ -91,7 +91,7 @@ boot(bootdev)
else
bootfile = kernels[i];
- cmd.timeout += 20;
+ cmd.timeout++;
printf(" failed(%d). will try %s\n", errno, bootfile);
strncpy(cmd.image, bootfile, sizeof(cmd.image));
}