summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/system.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2004-03-11 11:58:16 +0000
committerbde <bde@FreeBSD.org>2004-03-11 11:58:16 +0000
commit0016f83af98e16cda533c5adf275ca76c3ac2362 (patch)
tree873c65073bc4a50436133a5678acbe7ad4856ddc /usr.sbin/sade/system.c
parentbe31ea68bb3288af5b81dbc34787a3377ee2ef03 (diff)
downloadFreeBSD-src-0016f83af98e16cda533c5adf275ca76c3ac2362.zip
FreeBSD-src-0016f83af98e16cda533c5adf275ca76c3ac2362.tar.gz
Fixed assorted misuses of NULL in integer context.
Diffstat (limited to 'usr.sbin/sade/system.c')
-rw-r--r--usr.sbin/sade/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sade/system.c b/usr.sbin/sade/system.c
index 906dec2..65c353a 100644
--- a/usr.sbin/sade/system.c
+++ b/usr.sbin/sade/system.c
@@ -140,7 +140,7 @@ systemInitialize(int argc, char **argv)
globalsInit();
i = sizeof(boothowto);
- if (!sysctlbyname("debug.boothowto", &boothowto, &i, NULL, NULL) &&
+ if (!sysctlbyname("debug.boothowto", &boothowto, &i, NULL, 0) &&
(i == sizeof(boothowto)) && (boothowto & RB_VERBOSE))
variable_set2(VAR_DEBUG, "YES", 0);
OpenPOWER on IntegriCloud