summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2004-03-11 10:01:12 +0000
committerbde <bde@FreeBSD.org>2004-03-11 10:01:12 +0000
commit1b963c9bef63c0ae43fb288d5e827f88179e310e (patch)
treea739a24786a877764b5378558c3d44f004abac40 /sbin
parent4a50f50816ccaf576c045c898be1b1bba7d4665b (diff)
downloadFreeBSD-src-1b963c9bef63c0ae43fb288d5e827f88179e310e.zip
FreeBSD-src-1b963c9bef63c0ae43fb288d5e827f88179e310e.tar.gz
Fixed misspellings of 0 as NULL.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/init/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/init/init.c b/sbin/init/init.c
index ccff3c7..0a29127 100644
--- a/sbin/init/init.c
+++ b/sbin/init/init.c
@@ -363,7 +363,7 @@ handle(sig_t handler, ...)
sa.sa_handler = handler;
sigfillset(&mask_everything);
- while ((sig = va_arg(ap, int)) != NULL) {
+ while ((sig = va_arg(ap, int)) != 0) {
sa.sa_mask = mask_everything;
/* XXX SA_RESTART? */
sa.sa_flags = sig == SIGCHLD ? SA_NOCLDSTOP : 0;
@@ -382,7 +382,7 @@ delset(sigset_t *maskp, ...)
va_list ap;
va_start(ap, maskp);
- while ((sig = va_arg(ap, int)) != NULL)
+ while ((sig = va_arg(ap, int)) != 0)
sigdelset(maskp, sig);
va_end(ap);
}
OpenPOWER on IntegriCloud