aboutsummaryrefslogtreecommitdiffstats
path: root/syscalls.h
diff options
context:
space:
mode:
Diffstat (limited to 'syscalls.h')
-rw-r--r--syscalls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/syscalls.h b/syscalls.h
index c78576074ef2..592a1677e1f1 100644
--- a/syscalls.h
+++ b/syscalls.h
@@ -53,7 +53,7 @@ inline ssize_t flistxattr_(int fd, char *list, size_t size) {
inline ssize_t fgetxattr_(int fd, const char *name, void *value, size_t size) {
return extattr_get_fd(fd, EXTATTR_NAMESPACE_USER, name, value, size);
}
-inline int fsetxattr_(int fd, const char *name, const void *value, size_t size, int flags) {
+inline int fsetxattr_(int fd, const char *name, const void *value, size_t size, int) {
return extattr_set_fd(fd, EXTATTR_NAMESPACE_USER, name, value, size);
}
inline int fremovexattr_(int fd, const char *name) {