summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/command.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-10-24 22:36:31 +0000
committerbrian <brian@FreeBSD.org>1997-10-24 22:36:31 +0000
commit5edc0d2f34a8146cdc6019a477e2078f8357b165 (patch)
tree2ce0300bc6079fbdee302a5970dfec3f97d44ac6 /usr.sbin/ppp/command.c
parenta5212e361a194d2c45fe21b7d02d3734c4ffe4d3 (diff)
downloadFreeBSD-src-5edc0d2f34a8146cdc6019a477e2078f8357b165.zip
FreeBSD-src-5edc0d2f34a8146cdc6019a477e2078f8357b165.tar.gz
sleep => nointr_sleep
usleep => nointr_usleep (not just a #define) Already done by: ache
Diffstat (limited to 'usr.sbin/ppp/command.c')
-rw-r--r--usr.sbin/ppp/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c
index 2d50b95..634e289 100644
--- a/usr.sbin/ppp/command.c
+++ b/usr.sbin/ppp/command.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: command.c,v 1.85 1997/09/25 00:52:33 brian Exp $
+ * $Id: command.c,v 1.86 1997/10/12 01:49:37 brian Exp $
*
*/
#include <sys/types.h>
@@ -167,7 +167,7 @@ DialCommand(struct cmdtab const * cmdlist, int argc, char **argv)
break;
}
if ((res = DialModem()) == EX_DONE) {
- sleep(1);
+ nointr_sleep(1);
ModemTimeout();
PacketMode();
break;
OpenPOWER on IntegriCloud