about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/removexattr.c
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2023-02-18 23:37:11 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-02-20 00:34:07 +0100
commit80c2c1432d5167d408e0f6e5afdc108c8cffcc1f (patch)
treeb7ed0c2883aed03b2b52d45a347daacd4f60a973 /sysdeps/mach/hurd/removexattr.c
parent32fff41bde1965ce89af07e27f2fc6dbb5baee89 (diff)
downloadglibc-80c2c1432d5167d408e0f6e5afdc108c8cffcc1f.tar.gz
glibc-80c2c1432d5167d408e0f6e5afdc108c8cffcc1f.tar.xz
glibc-80c2c1432d5167d408e0f6e5afdc108c8cffcc1f.zip
hurd: Fix xattr function return type
They all return int, not size_t.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-Id: <20230218203717.373211-4-bugaevc@gmail.com>
Diffstat (limited to 'sysdeps/mach/hurd/removexattr.c')
-rw-r--r--sysdeps/mach/hurd/removexattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/removexattr.c b/sysdeps/mach/hurd/removexattr.c
index 128d0e01e8..fedc537077 100644
--- a/sysdeps/mach/hurd/removexattr.c
+++ b/sysdeps/mach/hurd/removexattr.c
@@ -21,7 +21,7 @@
 #include <hurd.h>
 #include <hurd/xattr.h>
 
-ssize_t
+int
 removexattr (const char *path, const char *name)
 {
   error_t err;