oops
authorSam Leffler <sam@ucbvax.Berkeley.EDU>
Sun, 23 Jan 1983 08:11:09 +0000 (00:11 -0800)
committerSam Leffler <sam@ucbvax.Berkeley.EDU>
Sun, 23 Jan 1983 08:11:09 +0000 (00:11 -0800)
SCCS-vsn: libexec/rlogind/rlogind.c 4.10

usr/src/libexec/rlogind/rlogind.c

index 0a82fff..939afcd 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)rlogind.c  4.9 83/01/18";
+static char sccsid[] = "@(#)rlogind.c  4.10 83/01/22";
 #endif
 
 #include <stdio.h>
 #endif
 
 #include <stdio.h>
@@ -89,7 +89,7 @@ main(argc, argv)
                perror("rlogind: bind");
                exit(1);
        }
                perror("rlogind: bind");
                exit(1);
        }
-       signal(SIGCHLD, reapchild);
+       sigset(SIGCHLD, reapchild);
        listen(f, 10);
        for (;;) {
                int s, len = sizeof (from);
        listen(f, 10);
        for (;;) {
                int s, len = sizeof (from);