summaryrefslogtreecommitdiff
path: root/libattr
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2001-08-03 02:05:04 +0000
committerNathan Scott <nathans@sgi.com>2001-08-03 02:05:04 +0000
commit26bff66dc3f5d2e990d301edf47982cfcbdc25c7 (patch)
treea60975665ddcf06d9a3e9c707db405f627f8da49 /libattr
parent9f95e203da466b846a687d65a7cf7d5699f66946 (diff)
downloadattr-26bff66dc3f5d2e990d301edf47982cfcbdc25c7.tar.gz
incorporate syscall fix for ppc from Juer Lee.
Diffstat (limited to 'libattr')
-rw-r--r--libattr/attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libattr/attr.c b/libattr/attr.c
index 0239c21..8a8e375 100644
--- a/libattr/attr.c
+++ b/libattr/attr.c
@@ -311,7 +311,7 @@ static int
attrctl(attr_obj_t obj, int type, attr_op_t *ops, int count)
{
#if HAVE_ACL_SYSCALL
- return syscall(SYS__attrctl, * (long *) &obj, type, ops, count);
+ return syscall(SYS__attrctl, obj, type, ops, count);
#else
errno = ENOSYS;
return -1;