From 52599fc1f8513c2fefad8d6828b8b8ddcb08f504 Mon Sep 17 00:00:00 2001 From: "Michael K. Johnson" Date: Mon, 6 Dec 1999 17:00:14 +0000 Subject: tyops --- src/ppp-watch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ppp-watch.c b/src/ppp-watch.c index 66bb03dc..62d20d01 100644 --- a/src/ppp-watch.c +++ b/src/ppp-watch.c @@ -106,7 +106,7 @@ set_signal(int signo, void (*handler)(int)) { struct sigaction act; act.sa_handler = handler; - act.flags = SA_RESTART; + act.sa_flags = SA_RESTART; sigemptyset(&act.sa_mask); sigaction(signo, &act, NULL); } @@ -139,7 +139,7 @@ detach(int now, int parentExitCode, char *device) { /* forward likely signals to the main process; we will * react later */ - theChild = child + theChild = child; set_signal(SIGINT, forward_signal); set_signal(SIGTERM, forward_signal); set_signal(SIGHUP, forward_signal); -- cgit v1.2.1