From 04e4126264c083a3a5f3d86c4de2f44ac1fe8cb2 Mon Sep 17 00:00:00 2001 From: Garrett Wollman Date: Thu, 28 Jul 2011 00:39:52 -0400 Subject: [PATCH] FBSD: complete the build fix for 8.1 libafs Strangely enough, nosys() also needs a cast to sy_call_t *. Change-Id: I7fee2278c228da3ddb2c3ccc9758681cd0abc01d Reviewed-on: http://gerrit.openafs.org/5105 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/afs/FBSD/osi_vfsops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/FBSD/osi_vfsops.c b/src/afs/FBSD/osi_vfsops.c index 35b6fca4f..c2662632b 100644 --- a/src/afs/FBSD/osi_vfsops.c +++ b/src/afs/FBSD/osi_vfsops.c @@ -55,7 +55,7 @@ afs_init(struct vfsconf *vfc) return code; } #else - if (sysent[AFS_SYSCALL].sy_call != nosys + if (sysent[AFS_SYSCALL].sy_call != (sy_call_t *)nosys && sysent[AFS_SYSCALL].sy_call != (sy_call_t *)lkmnosys) { printf("AFS_SYSCALL in use. aborting\n"); return EBUSY; -- 2.39.5