afs: implement afs_syscall() always, returning -1 if FAKE_KASERVER is not defined.
authorMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 00:36:28 +0000 (02:36 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 18:49:02 +0000 (20:49 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/lib/afs_settoken.c

index af15fa8b2e400096a2c78aba84bc7466d407bee3..7aff55fd762278bf74a82f4ecf6dda5fabfe66d2 100644 (file)
@@ -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;