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 <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
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;