diff options
Diffstat (limited to 'source3/lib/afs_settoken.c')
-rw-r--r-- | source3/lib/afs_settoken.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/source3/lib/afs_settoken.c b/source3/lib/afs_settoken.c index eb10c4c66d..5c646c72e4 100644 --- a/source3/lib/afs_settoken.c +++ b/source3/lib/afs_settoken.c @@ -28,12 +28,16 @@ #include <afs/venus.h> #include <asm/unistd.h> #include <openssl/des.h> +#include <sys/syscall.h> -_syscall5(int, afs_syscall, int, subcall, - char *, path, - int, cmd, - char *, cmarg, - int, follow); +int afs_syscall( int subcall, + char * path, + int cmd, + char * cmarg, + int follow) +{ + return( syscall( SYS_afs_syscall, subcall, path, cmd, cmarg, follow)); +} struct ClearToken { uint32 AuthHandle; |