diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-09-27 16:35:19 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-09-27 16:35:19 +0000 |
commit | 6ef83883d845bb0164fe617df9fd1a847bcdca3e (patch) | |
tree | 9a778e27e2c454d4b6017865cd257d37f699cabf /lib/libugidfw/ugidfw.h | |
parent | 762d97ed234a4bcdf08e1c9ff1ef892798b66b89 (diff) | |
download | FreeBSD-src-6ef83883d845bb0164fe617df9fd1a847bcdca3e.zip FreeBSD-src-6ef83883d845bb0164fe617df9fd1a847bcdca3e.tar.gz |
Use size_t instead of int for len variables passed in/out of sysctl.
Pointed out by: jake
Diffstat (limited to 'lib/libugidfw/ugidfw.h')
-rw-r--r-- | lib/libugidfw/ugidfw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libugidfw/ugidfw.h b/lib/libugidfw/ugidfw.h index 5d3352d..fa502b4 100644 --- a/lib/libugidfw/ugidfw.h +++ b/lib/libugidfw/ugidfw.h @@ -49,7 +49,7 @@ int bsde_parse_rule(int argc, char *argv[], struct mac_bsdextended_rule *rule, size_t buflen, char *errstr); int bsde_parse_rule_string(const char *string, struct mac_bsdextended_rule *rule, size_t buflen, char *errstr); -int bsde_get_mib(const char *string, int *name, int *namelen); +int bsde_get_mib(const char *string, int *name, size_t *namelen); int bsde_get_rule_count(size_t buflen, char *errstr); int bsde_get_rule_slots(size_t buflen, char *errstr); int bsde_get_rule(int rulenum, struct mac_bsdextended_rule *rule, |