From 6a6fb4342daf22ddf530b847656af9a7a73e6811 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Sat, 31 May 1997 01:35:59 +0000 Subject: usleep is void now --- sys/arch/i386/stand/boot/cmd.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'sys/arch/i386/stand/boot') 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 -#include #include #include #include @@ -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 -- cgit v1.2.3