diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-09-27 12:11:15 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-09-27 12:12:46 -0400 |
commit | 52de184ba28551734e1cb13233588504ab5f62ec (patch) | |
tree | 5b3d417354e7880b97507d1e4cf01c200f6cf24f /src/fsade.c | |
parent | b395bb33e6f7d875307b18a4f9318ed0d34934ca (diff) | |
download | bfs-52de184ba28551734e1cb13233588504ab5f62ec.tar.xz |
Formatting fixes
Diffstat (limited to 'src/fsade.c')
-rw-r--r-- | src/fsade.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fsade.c b/src/fsade.c index 8dec5a8..cbff47b 100644 --- a/src/fsade.c +++ b/src/fsade.c @@ -3,9 +3,9 @@ #include "fsade.h" #include "atomic.h" -#include "config.h" #include "bfstd.h" #include "bftw.h" +#include "config.h" #include "dir.h" #include "dstring.h" #include "sanity.h" @@ -292,7 +292,7 @@ int bfs_check_xattrs(const struct BFTW *ftwbuf) { ssize_t len; #if BFS_USE_SYS_EXTATTR_H - ssize_t (*extattr_list)(const char *, int, void*, size_t) = + ssize_t (*extattr_list)(const char *, int, void *, size_t) = ftwbuf->type == BFS_LNK ? extattr_list_link : extattr_list_file; len = extattr_list(path, EXTATTR_NAMESPACE_SYSTEM, NULL, 0); @@ -331,7 +331,7 @@ int bfs_check_xattr_named(const struct BFTW *ftwbuf, const char *name) { ssize_t len; #if BFS_USE_SYS_EXTATTR_H - ssize_t (*extattr_get)(const char *, int, const char *, void*, size_t) = + ssize_t (*extattr_get)(const char *, int, const char *, void *, size_t) = ftwbuf->type == BFS_LNK ? extattr_get_link : extattr_get_file; len = extattr_get(path, EXTATTR_NAMESPACE_SYSTEM, name, NULL, 0); |