From d548b86e120db7e1327eea957a698d4bb874a1fb Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 22 Aug 2017 18:34:36 -0400 Subject: Avoid multiple extra stat()s of broken symlinks for -xtype --- util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util.h') diff --git a/util.h b/util.h index 6798fb9..e23acdc 100644 --- a/util.h +++ b/util.h @@ -152,10 +152,10 @@ const char *xbasename(const char *path); * @param buf * The stat buffer to fill. * @param flags - * AT_* flags for this call. Will be updated if a fallback happens. + * AT_* flags for this call. * @return 0 on success, -1 on failure. */ -int xfstatat(int fd, const char *path, struct stat *buf, int *flags); +int xfstatat(int fd, const char *path, struct stat *buf, int flags); /** * Convert a stat() st_mode to a bftw() typeflag. -- cgit v1.2.3