Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250800
b: refs/heads/master
c: 3f058ef
h: refs/heads/master
v: v3
  • Loading branch information
Eric Paris committed Apr 28, 2011
1 parent 3c47e9e commit b56ac20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: be30b16d43f4781406de0c08c96501dae4cc5a77
refs/heads/master: 3f058ef7787e1b48720622346de9a5317aeb749a
4 changes: 2 additions & 2 deletions trunk/security/selinux/ss/policydb.c
Original file line number Diff line number Diff line change
Expand Up @@ -3066,7 +3066,7 @@ static int genfs_write(struct policydb *p, void *fp)
return 0;
}

static int range_count(void *key, void *data, void *ptr)
static int hashtab_cnt(void *key, void *data, void *ptr)
{
int *cnt = ptr;
*cnt = *cnt + 1;
Expand Down Expand Up @@ -3114,7 +3114,7 @@ static int range_write(struct policydb *p, void *fp)

/* count the number of entries in the hashtab */
nel = 0;
rc = hashtab_map(p->range_tr, range_count, &nel);
rc = hashtab_map(p->range_tr, hashtab_cnt, &nel);
if (rc)
return rc;

Expand Down

0 comments on commit b56ac20

Please sign in to comment.