diff options
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/stand/boot/cmd.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/arch/i386/stand/boot/cmd.c b/sys/arch/i386/stand/boot/cmd.c index 2dd7a222cdb..8af3d07085c 100644 --- a/sys/arch/i386/stand/boot/cmd.c +++ b/sys/arch/i386/stand/boot/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.13 1997/04/28 07:39:00 weingart Exp $ */ +/* $OpenBSD: cmd.c,v 1.14 1997/05/31 01:35:58 mickey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -33,7 +33,6 @@ */ #include <sys/param.h> -#include <string.h> #include <libsa.h> #include <debug.h> #include <sys/reboot.h> @@ -246,11 +245,7 @@ readline(buf, to) for (i = to; i-- && !ischar(); ) #ifndef _TEST - if ((to = usleep(100000))) { - printf ("usleep failed (%d)\n", to); - i = 1; - break; - } + usleep(100000); #else ; #endif |