From 4a50f50816ccaf576c045c898be1b1bba7d4665b Mon Sep 17 00:00:00 2001 From: bde Date: Thu, 11 Mar 2004 09:56:04 +0000 Subject: Fixed misspellings of 0 as NULL. --- lib/libugidfw/ugidfw.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/libugidfw/ugidfw.c') diff --git a/lib/libugidfw/ugidfw.c b/lib/libugidfw/ugidfw.c index 7a89eb9..6f79b20 100644 --- a/lib/libugidfw/ugidfw.c +++ b/lib/libugidfw/ugidfw.c @@ -572,7 +572,7 @@ bsde_get_rule_count(size_t buflen, char *errstr) int rule_count; len = sizeof(rule_count); - error = sysctlbyname(MIB ".rule_count", &rule_count, &len, NULL, NULL); + error = sysctlbyname(MIB ".rule_count", &rule_count, &len, NULL, 0); if (error) { len = snprintf(errstr, buflen, strerror(errno)); return (-1); @@ -594,8 +594,7 @@ bsde_get_rule_slots(size_t buflen, char *errstr) int rule_slots; len = sizeof(rule_slots); - error = sysctlbyname(MIB ".rule_slots", &rule_slots, &len, NULL, - NULL); + error = sysctlbyname(MIB ".rule_slots", &rule_slots, &len, NULL, 0); if (error) { len = snprintf(errstr, buflen, strerror(errno)); return (-1); -- cgit v1.1