summaryrefslogtreecommitdiffstats
path: root/bftw.c
diff options
context:
space:
mode:
Diffstat (limited to 'bftw.c')
-rw-r--r--bftw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bftw.c b/bftw.c
index 02e7adb..d21c202 100644
--- a/bftw.c
+++ b/bftw.c
@@ -551,7 +551,7 @@ static void bftw_queue_destroy(struct bftw_queue *queue) {
/** Call stat() and use the results. */
static int ftwbuf_stat(struct BFTW *ftwbuf, struct stat *sb) {
- int ret = xfstatat(ftwbuf->at_fd, ftwbuf->at_path, sb, &ftwbuf->at_flags);
+ int ret = xfstatat(ftwbuf->at_fd, ftwbuf->at_path, sb, ftwbuf->at_flags);
if (ret == 0) {
ftwbuf->statbuf = sb;
ftwbuf->typeflag = mode_to_typeflag(sb->st_mode);