From 53babbb519759e415671278d44bddf13ef46334c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 10 Jun 2004 17:13:30 +0000 Subject: r1106: Lars Mueller asked me to apply this patch, as this is needed for their build environment. The AFS stuff is linux 2.4 only currently, it works for me on this platform, so apply it. Volker (This used to be commit 69e8c65f1f0cb0c5237bb3b2560cd6f936503eb7) --- source3/lib/afs_settoken.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'source3/lib/afs_settoken.c') 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 #include #include +#include -_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; -- cgit