blob: a20d69429418efaab0c5d1760745edf9e479740f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- src/afs/FBSD/osi_vfsops.c.orig 2014-11-08 11:45:02.000000000 +0900
+++ src/afs/FBSD/osi_vfsops.c 2014-11-08 12:01:34.000000000 +0900
@@ -49,7 +49,11 @@
int code;
int offset = AFS_SYSCALL;
#if defined(AFS_FBSD90_ENV) || defined(AFS_FBSD82_ENV)
+# if defined(FBSD_SYSCALL_REGISTER_FOUR_ARGS)
+ code = syscall_register(&offset, &afs_sysent, &old_sysent, 0);
+# else
code = syscall_register(&offset, &afs_sysent, &old_sysent);
+# endif
if (code) {
printf("AFS_SYSCALL in use, error %i. aborting\n", code);
return code;
|