From: Michael Adam Date: Mon, 23 Sep 2013 00:36:28 +0000 (+0200) Subject: afs: implement afs_syscall() always, returning -1 if FAKE_KASERVER is not defined. X-Git-Url: http://git.samba.org/?p=metze%2Fsamba%2Fwip.git;a=commitdiff_plain;h=5fd4fd7c019679728c7f3bb9a565f27b6e504427 afs: implement afs_syscall() always, returning -1 if FAKE_KASERVER is not defined. Signed-off-by: Michael Adam Reviewed-by: Volker Lendecke --- diff --git a/source3/lib/afs_settoken.c b/source3/lib/afs_settoken.c index af15fa8b2e40..7aff55fd7622 100644 --- a/source3/lib/afs_settoken.c +++ b/source3/lib/afs_settoken.c @@ -248,6 +248,12 @@ bool afs_settoken_str(const char *token_string) #else +int afs_syscall(int subcall, const char *path, int cmd, char *cmarg, int follow) +{ + errno = ENOSYS; + return -1; +} + bool afs_settoken_str(const char *token_string) { return false;