summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-05-31 01:35:59 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-05-31 01:35:59 +0000
commit6a6fb4342daf22ddf530b847656af9a7a73e6811 (patch)
tree947930238cbee1cb454d7009d14a6a8f10d4f91c /sys/arch/i386
parenta4487d0c8978f3e789dff4c5d5f5a8c5a361d1d0 (diff)
usleep is void now
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/stand/boot/cmd.c9
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