summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2004-03-11 09:56:04 +0000
committerBruce Evans <bde@FreeBSD.org>2004-03-11 09:56:04 +0000
commit0f9a2306a53ca0372d91506976541107a0e7166c (patch)
tree49f31709f2ee372cda4ce0407f7c95e38c765b5b /lib
parent0bf7b204e345fd3cf7cc96ee55da88f93982ae1b (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libugidfw/ugidfw.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libugidfw/ugidfw.c b/lib/libugidfw/ugidfw.c
index 7a89eb97f847..6f79b209f3a9 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);