missing return value
authorJay Lepreau <lepreau@ucbvax.Berkeley.EDU>
Mon, 17 Feb 1986 20:27:01 +0000 (12:27 -0800)
committerJay Lepreau <lepreau@ucbvax.Berkeley.EDU>
Mon, 17 Feb 1986 20:27:01 +0000 (12:27 -0800)
SCCS-vsn: usr.bin/rlogin/rlogin.c 5.9

usr/src/usr.bin/rlogin/rlogin.c

index 6f10b05..68e4ace 100644 (file)
@@ -11,7 +11,7 @@ char copyright[] =
 #endif not lint
 
 #ifndef lint
 #endif not lint
 
 #ifndef lint
-static char sccsid[] = "@(#)rlogin.c   5.8 (Berkeley) %G%";
+static char sccsid[] = "@(#)rlogin.c   5.9 (Berkeley) %G%";
 #endif not lint
 
 /*
 #endif not lint
 
 /*
@@ -484,7 +484,7 @@ reader()
                        n = write(1, bufp, remaining);
                        if (n < 0) {
                                if (errno != EINTR)
                        n = write(1, bufp, remaining);
                        if (n < 0) {
                                if (errno != EINTR)
-                                       return;
+                                       return (-1);
                                continue;
                        }
                        bufp += n;
                                continue;
                        }
                        bufp += n;