From 2079c5891d2488d417c6f2036fbc29c6bdb52d49 Mon Sep 17 00:00:00 2001 From: Ilya Lipnitskiy Date: Thu, 11 Feb 2021 21:00:20 -0800 Subject: [PATCH 3/3] libfakeroot.c: fix compile error with DEBUG enabled Signed-off-by: Ilya Lipnitskiy --- libfakeroot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfakeroot.c b/libfakeroot.c index 1042349..0bedf02 100644 --- a/libfakeroot.c +++ b/libfakeroot.c @@ -2525,7 +2525,7 @@ int statx (int dirfd, const char *path, int flags, unsigned int mask, struct sta #ifdef LIBFAKEROOT_DEBUGGING if (fakeroot_debug) { - fprintf(stderr, "statx fd %d\n", fd); + fprintf(stderr, "statx fd %d\n", dirfd); } #endif /* LIBFAKEROOT_DEBUGGING */ r=INT_NEXT_FSTATAT(dirfd, path, &st, flags); -- 2.30.1