mirror of
https://git.freebsd.org/ports.git
synced 2025-07-16 00:39:15 -04:00
14 lines
547 B
C
14 lines
547 B
C
--- 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;
|