diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/selinux/ss/policydb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/selinux/ss/policydb.c b/security/selinux/ss/policydb.c index 70c863bf715e..ca7a7231b5a2 100644 --- a/security/selinux/ss/policydb.c +++ b/security/selinux/ss/policydb.c | |||
@@ -3066,7 +3066,7 @@ static int genfs_write(struct policydb *p, void *fp) | |||
3066 | return 0; | 3066 | return 0; |
3067 | } | 3067 | } |
3068 | 3068 | ||
3069 | static int range_count(void *key, void *data, void *ptr) | 3069 | static int hashtab_cnt(void *key, void *data, void *ptr) |
3070 | { | 3070 | { |
3071 | int *cnt = ptr; | 3071 | int *cnt = ptr; |
3072 | *cnt = *cnt + 1; | 3072 | *cnt = *cnt + 1; |
@@ -3114,7 +3114,7 @@ static int range_write(struct policydb *p, void *fp) | |||
3114 | 3114 | ||
3115 | /* count the number of entries in the hashtab */ | 3115 | /* count the number of entries in the hashtab */ |
3116 | nel = 0; | 3116 | nel = 0; |
3117 | rc = hashtab_map(p->range_tr, range_count, &nel); | 3117 | rc = hashtab_map(p->range_tr, hashtab_cnt, &nel); |
3118 | if (rc) | 3118 | if (rc) |
3119 | return rc; | 3119 | return rc; |
3120 | 3120 | ||