summaryrefslogtreecommitdiffstats
path: root/usr.bin/talk/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/talk/io.c')
-rw-r--r--usr.bin/talk/io.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/talk/io.c b/usr.bin/talk/io.c
index e9f0480..f7f31bd 100644
--- a/usr.bin/talk/io.c
+++ b/usr.bin/talk/io.c
@@ -36,7 +36,7 @@ static char sccsid[] = "@(#)io.c 8.1 (Berkeley) 6/6/93";
#endif /* not lint */
/*
- * This file contains the I/O handling and the exchange of
+ * This file contains the I/O handling and the exchange of
* edit characters. This connection itself is established in
* ctl.c
*/
@@ -67,7 +67,7 @@ talk()
sockt_mask = (1<<sockt);
/*
- * Wait on both the other process (sockt_mask) and
+ * Wait on both the other process (sockt_mask) and
* standard input ( STDIN_MASK )
*/
read_template = sockt_mask | STDIN_MASK;
@@ -85,7 +85,7 @@ talk()
p_error("Unexpected error from select");
quit();
}
- if (read_set & sockt_mask) {
+ if (read_set & sockt_mask) {
/* There is data on sockt */
nb = read(sockt, buf, sizeof buf);
if (nb <= 0) {
@@ -115,7 +115,7 @@ extern int sys_nerr;
* p_error prints the system error message on the standard location
* on the screen and then exits. (i.e. a curses version of perror)
*/
-p_error(string)
+p_error(string)
char *string;
{
wmove(my_win.x_win, current_line, 0);
OpenPOWER on IntegriCloud