summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index b3d85f2..a170967 100644
--- a/eval.c
+++ b/eval.c
@@ -919,7 +919,7 @@ bool eval_xtype(const struct expr *expr, struct eval_state *state) {
const struct bfs_stat *statbuf = eval_xstat(state);
if (statbuf) {
- return mode_to_typeflag(statbuf->mode) & expr->idata;
+ return bftw_mode_typeflag(statbuf->mode) & expr->idata;
} else if (!follow && is_nonexistence_error(errno)) {
// Broken symlink
return eval_type(expr, state);