summaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index ec019ce..0ac1f7a 100644
--- a/util.c
+++ b/util.c
@@ -166,7 +166,7 @@ char *xregerror(int err, const regex_t *regex) {
void format_mode(mode_t mode, char str[11]) {
strcpy(str, "----------");
- switch (bftw_mode_typeflag(mode)) {
+ switch (bftw_mode_to_type(mode)) {
case BFTW_REG:
break;
case BFTW_BLK: