diff options
author | bde <bde@FreeBSD.org> | 2004-03-11 09:56:04 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2004-03-11 09:56:04 +0000 |
commit | 4a50f50816ccaf576c045c898be1b1bba7d4665b (patch) | |
tree | 49f31709f2ee372cda4ce0407f7c95e38c765b5b /lib/libugidfw | |
parent | 74a2897640b9121450f8650c93e255fd938e9656 (diff) | |
download | FreeBSD-src-4a50f50816ccaf576c045c898be1b1bba7d4665b.zip FreeBSD-src-4a50f50816ccaf576c045c898be1b1bba7d4665b.tar.gz |
Fixed misspellings of 0 as NULL.
Diffstat (limited to 'lib/libugidfw')
-rw-r--r-- | lib/libugidfw/ugidfw.c | 5 |
1 files changed, 2 insertions, 3 deletions
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); |