19 lines
478 B
Diff
19 lines
478 B
Diff
Index: src/minikafs.c
|
|
===================================================================
|
|
--- src/minikafs.c.orig
|
|
+++ src/minikafs.c
|
|
@@ -179,7 +179,13 @@ minikafs_ioctlcall(long function, long a
|
|
static int
|
|
minikafs_syscall(long function, long arg1, long arg2, long arg3, long arg4)
|
|
{
|
|
+#ifdef __arm__
|
|
+ /* no afs_syscall */
|
|
+ errno = ENOSYS;
|
|
+ return -1;
|
|
+#else
|
|
return syscall(__NR_afs_syscall, function, arg1, arg2, arg3, arg4);
|
|
+#endif
|
|
}
|
|
|
|
/* Call into AFS, somehow. */
|