about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/lremovexattr.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/lremovexattr.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/lremovexattr.c')
-rw-r--r--sysdeps/mach/hurd/lremovexattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/lremovexattr.c b/sysdeps/mach/hurd/lremovexattr.c
index 1d761e2d3e..cb6a1f8f54 100644
--- a/sysdeps/mach/hurd/lremovexattr.c
+++ b/sysdeps/mach/hurd/lremovexattr.c
@@ -22,7 +22,7 @@
 #include <hurd/xattr.h>
 #include <fcntl.h>
 
-ssize_t
+int
 lremovexattr (const char *path, const char *name)
 {
   error_t err;