summaryrefslogtreecommitdiffstats
path: root/src/parse.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-11-30 14:16:51 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-11-30 14:16:51 -0500
commitc55e85580df10c5afdc6fc0710e756a456aa8e93 (patch)
treea5dcb83e9ed6c4adf3a719eac45c43aba15cdb09 /src/parse.c
parent33a6a3027f0b1ec931824a4b2206bf6659df53a4 (diff)
downloadbfs-c55e85580df10c5afdc6fc0710e756a456aa8e93.tar.xz
parse: Fix crash on -xdev -mount
Diffstat (limited to 'src/parse.c')
-rw-r--r--src/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.c b/src/parse.c
index 5ef71f8..a858a4c 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -1802,7 +1802,7 @@ static struct bfs_expr *parse_mount(struct parser_state *state, int arg1, int ar
bfs_warning(state->ctx, "${blu}-xdev${rs}, due to http://austingroupbugs.net/view.php?id=1133.\n\n");
state->ctx->flags |= BFTW_PRUNE_MOUNTS;
- state->mount_arg = state->argv;
+ state->mount_arg = expr->argv;
return expr;
}