diff options
author | Nathan Scott <nathans@sgi.com> | 2002-03-11 23:42:35 +0000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2002-03-11 23:42:35 +0000 |
commit | 84233d472fbea2750199c9785a3b28a079551905 (patch) | |
tree | 57b9f873ecab86d2ea58d1f06a562d2ed5ae3b9e /libattr/syscalls.c | |
parent | 659175e0055fff18ebf5505ab1963dd00b8316a8 (diff) | |
download | attr-84233d472fbea2750199c9785a3b28a079551905.tar.gz |
man page and test script updates from Andreas. fix syscall numbering
a/ on sparc (fremovexattr was wrong) and b/ if arch doesn't have numbers
defined yet, handle it cleanly (errno.h missing).
Diffstat (limited to 'libattr/syscalls.c')
-rw-r--r-- | libattr/syscalls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libattr/syscalls.c b/libattr/syscalls.c index 12af483..a151198 100644 --- a/libattr/syscalls.c +++ b/libattr/syscalls.c @@ -36,6 +36,7 @@ * indirection. This avoids the dependency on kernel sources. */ +#include <errno.h> #include <unistd.h> #if defined (__i386__) @@ -65,7 +66,7 @@ # define __NR_flistxattr 180 # define __NR_removexattr 181 # define __NR_lremovexattr 182 -# define __NR_fremovexattr 183 +# define __NR_fremovexattr 186 #elif defined (__ia64__) # define HAVE_XATTR_SYSCALLS 1 # define __NR_setxattr 1217 |