From: Garrett Wollman Date: Thu, 28 Jul 2011 04:39:52 +0000 (-0400) Subject: FBSD: complete the build fix for 8.1 libafs X-Git-Tag: upstream/1.8.0_pre1^2~3475 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=04e4126264c083a3a5f3d86c4de2f44ac1fe8cb2;p=packages%2Fo%2Fopenafs.git 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 --- 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;