summaryrefslogtreecommitdiffstats
path: root/ctx.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-10-06 13:15:43 -0400
committerTavian Barnes <tavianator@tavianator.com>2020-10-06 13:15:43 -0400
commitd2d9a751b172edb2b3aee613cf4bbe06ff5a07c8 (patch)
tree1717b0c2ef3afa8ce8230fbd5d1a40c174cda598 /ctx.c
parent19528c3cab1020196bd6a033dd47871e087f8886 (diff)
downloadbfs-d2d9a751b172edb2b3aee613cf4bbe06ff5a07c8.tar.xz
mtab: Adjust some naming conventions
Diffstat (limited to 'ctx.c')
-rw-r--r--ctx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctx.c b/ctx.c
index 6146b3c..065abcd 100644
--- a/ctx.c
+++ b/ctx.c
@@ -102,7 +102,7 @@ const struct bfs_mtab *bfs_ctx_mtab(const struct bfs_ctx *ctx) {
if (mut->mtab_error) {
errno = mut->mtab_error;
} else if (!mut->mtab) {
- mut->mtab = bfs_parse_mtab();
+ mut->mtab = bfs_mtab_parse();
if (!mut->mtab) {
mut->mtab_error = errno;
}
@@ -184,7 +184,7 @@ int bfs_ctx_free(struct bfs_ctx *ctx) {
free_expr(ctx->expr);
free_expr(ctx->exclude);
- bfs_free_mtab(ctx->mtab);
+ bfs_mtab_free(ctx->mtab);
bfs_free_groups(ctx->groups);
bfs_free_users(ctx->users);