summaryrefslogtreecommitdiffstats
path: root/ctx.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-10-06 13:19:25 -0400
committerTavian Barnes <tavianator@tavianator.com>2020-10-06 13:19:25 -0400
commitfd0b968b5afe28d9adcfbc9aef17bc83d6eaf84b (patch)
treef973bb4b424448da6e1c5115819e3fd4f568f2b6 /ctx.c
parentd2d9a751b172edb2b3aee613cf4bbe06ff5a07c8 (diff)
downloadbfs-fd0b968b5afe28d9adcfbc9aef17bc83d6eaf84b.tar.xz
pwcache: Adjust some naming conventions
Diffstat (limited to 'ctx.c')
-rw-r--r--ctx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ctx.c b/ctx.c
index 065abcd..aafc08b 100644
--- a/ctx.c
+++ b/ctx.c
@@ -72,7 +72,7 @@ const struct bfs_users *bfs_ctx_users(const struct bfs_ctx *ctx) {
if (mut->users_error) {
errno = mut->users_error;
} else if (!mut->users) {
- mut->users = bfs_parse_users();
+ mut->users = bfs_users_parse();
if (!mut->users) {
mut->users_error = errno;
}
@@ -87,7 +87,7 @@ const struct bfs_groups *bfs_ctx_groups(const struct bfs_ctx *ctx) {
if (mut->groups_error) {
errno = mut->groups_error;
} else if (!mut->groups) {
- mut->groups = bfs_parse_groups();
+ mut->groups = bfs_groups_parse();
if (!mut->groups) {
mut->groups_error = errno;
}
@@ -186,8 +186,8 @@ int bfs_ctx_free(struct bfs_ctx *ctx) {
bfs_mtab_free(ctx->mtab);
- bfs_free_groups(ctx->groups);
- bfs_free_users(ctx->users);
+ bfs_groups_free(ctx->groups);
+ bfs_users_free(ctx->users);
struct trie_leaf *leaf;
while ((leaf = trie_first_leaf(&ctx->files))) {