diff options
Diffstat (limited to 'usr.bin/tip/libacu/courier.c')
-rw-r--r-- | usr.bin/tip/libacu/courier.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/tip/libacu/courier.c b/usr.bin/tip/libacu/courier.c index 84c710f..df19573 100644 --- a/usr.bin/tip/libacu/courier.c +++ b/usr.bin/tip/libacu/courier.c @@ -32,8 +32,9 @@ */ #ifndef lint -static char sccsid[] = "@(#)courier.c 8.1 (Berkeley) 6/6/93"; -#endif /* not lint */ +static const char rcsid[] = + "$FreeBSD$"; +#endif /* * Routines for calling up on a Courier modem. @@ -43,6 +44,7 @@ static char sccsid[] = "@(#)courier.c 8.1 (Berkeley) 6/6/93"; #include "tip.h" #include "acucommon.h" #include <stdio.h> +#include <unistd.h> #define MAXRETRY 5 @@ -299,7 +301,7 @@ int n; { #ifdef notdef if (boolean(value(VERBOSE))) - write(1, cp, n); + write(STDOUT_FILENO, cp, n); #endif acu_flush (); cour_nap(); @@ -322,7 +324,7 @@ cour_verbose_read() return; if (read(FD, buf, n) != n) return; - write(1, buf, n); + write(STDOUT_FILENO, buf, n); } #endif |