diff options
-rw-r--r-- | release/sysinstall/dist.c | 2 | ||||
-rw-r--r-- | release/sysinstall/media.c | 2 | ||||
-rw-r--r-- | usr.sbin/sysinstall/dist.c | 2 | ||||
-rw-r--r-- | usr.sbin/sysinstall/media.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/release/sysinstall/dist.c b/release/sysinstall/dist.c index 3596835..9a2e489 100644 --- a/release/sysinstall/dist.c +++ b/release/sysinstall/dist.c @@ -534,7 +534,7 @@ distExtract(char *parent, Distribution *me) /* Make ^C fake a sudden timeout */ new.sa_handler = handle_intr; new.sa_flags = 0; - new.sa_mask = 0; + (void)sigemptyset(&new.sa_mask); sigaction(SIGINT, &new, &old); /* Loop through to see if we're in our parent's plans */ diff --git a/release/sysinstall/media.c b/release/sysinstall/media.c index 380b704..55055ed 100644 --- a/release/sysinstall/media.c +++ b/release/sysinstall/media.c @@ -677,7 +677,7 @@ mediaExtractDist(char *dir, char *dist, FILE *fp) /* Make ^C abort the current transfer rather than the whole show */ new.sa_handler = handle_intr; new.sa_flags = 0; - new.sa_mask = 0; + (void)sigemptyset(&new.sa_mask); sigaction(SIGINT, &new, &old); while ((i = fread(buf, 1, BUFSIZ, fp)) > 0) { diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c index 3596835..9a2e489 100644 --- a/usr.sbin/sysinstall/dist.c +++ b/usr.sbin/sysinstall/dist.c @@ -534,7 +534,7 @@ distExtract(char *parent, Distribution *me) /* Make ^C fake a sudden timeout */ new.sa_handler = handle_intr; new.sa_flags = 0; - new.sa_mask = 0; + (void)sigemptyset(&new.sa_mask); sigaction(SIGINT, &new, &old); /* Loop through to see if we're in our parent's plans */ diff --git a/usr.sbin/sysinstall/media.c b/usr.sbin/sysinstall/media.c index 380b704..55055ed 100644 --- a/usr.sbin/sysinstall/media.c +++ b/usr.sbin/sysinstall/media.c @@ -677,7 +677,7 @@ mediaExtractDist(char *dir, char *dist, FILE *fp) /* Make ^C abort the current transfer rather than the whole show */ new.sa_handler = handle_intr; new.sa_flags = 0; - new.sa_mask = 0; + (void)sigemptyset(&new.sa_mask); sigaction(SIGINT, &new, &old); while ((i = fread(buf, 1, BUFSIZ, fp)) > 0) { |