summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/chat.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/chat.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/chat.c')
-rw-r--r--usr.sbin/ppp/chat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/chat.c b/usr.sbin/ppp/chat.c
index 6432529..05b4ecb 100644
--- a/usr.sbin/ppp/chat.c
+++ b/usr.sbin/ppp/chat.c
@@ -18,7 +18,7 @@
* Columbus, OH 43221
* (614)451-1883
*
- * $Id: chat.c,v 1.32 1997/08/25 00:29:07 brian Exp $
+ * $Id: chat.c,v 1.33 1997/08/31 22:59:15 brian Exp $
*
* TODO:
* o Support more UUCP compatible control sequences.
@@ -148,10 +148,10 @@ ExpandString(char *str, char *result, int reslen, int sendmode)
addcr = 0;
break;
case 'd': /* Delay 2 seconds */
- sleep(2);
+ nointr_sleep(2);
break;
case 'p':
- usleep(250000);
+ nointr_usleep(250000);
break; /* Pause 0.25 sec */
case 'n':
*result++ = '\n';
OpenPOWER on IntegriCloud