From 5fd4fd7c019679728c7f3bb9a565f27b6e504427 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 23 Sep 2013 02:36:28 +0200 Subject: afs: implement afs_syscall() always, returning -1 if FAKE_KASERVER is not defined. Signed-off-by: Michael Adam Reviewed-by: Volker Lendecke --- source3/lib/afs_settoken.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source3/lib/afs_settoken.c b/source3/lib/afs_settoken.c index af15fa8b2e..7aff55fd76 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; -- cgit