diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1999-09-30 19:55:00 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1999-09-30 19:55:00 +0000 |
| commit | 233036aac12fdc3e4d659f7d0de28b44492fd38b (patch) | |
| tree | bfc1f07428a3760101202bc9afd0071501947994 | |
| parent | bdf7fdcb6f950aea92ec4e51204c7ca62d71ef43 (diff) | |
Notes
| -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 3596835c9d7d..9a2e489757f5 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 380b704f48a3..55055ed89576 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 3596835c9d7d..9a2e489757f5 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 380b704f48a3..55055ed89576 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) { |
