diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-11-06 17:47:23 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-11-06 17:47:23 -0500 |
commit | b4c7112bafe9b85f3a039a8b34fef2c1f2fa3b58 (patch) | |
tree | 4dbd16b8dac10609434eb8744f95762c4d178c19 /src/eval.c | |
parent | 096884c4fe1fb922eab2797d4583ca2ae8ae2600 (diff) | |
download | bfs-b4c7112bafe9b85f3a039a8b34fef2c1f2fa3b58.tar.xz |
bfstd: Rename from util and reorganize it
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -20,6 +20,7 @@ #include "eval.h" #include "bar.h" +#include "bfstd.h" #include "bftw.h" #include "color.h" #include "config.h" @@ -36,7 +37,6 @@ #include "pwcache.h" #include "stat.h" #include "trie.h" -#include "util.h" #include "xregex.h" #include "xtime.h" #include <assert.h> @@ -686,8 +686,8 @@ bool eval_fls(const struct bfs_expr *expr, struct bfs_eval *state) { } if (ftwbuf->type == BFS_BLK || ftwbuf->type == BFS_CHR) { - int ma = bfs_major(statbuf->rdev); - int mi = bfs_minor(statbuf->rdev); + int ma = xmajor(statbuf->rdev); + int mi = xminor(statbuf->rdev); if (fprintf(file, " %3d, %3d", ma, mi) < 0) { goto error; } |