From: Antoine Verheijen Date: Wed, 19 Jan 2011 20:30:24 +0000 (-0700) Subject: OpenBSD: Fix parameters in call to afs_close() X-Git-Tag: openafs-devel-1_7_1~1020 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=5ff6c88fcc0c35843e91dc45e4bd297efd0d4445 OpenBSD: Fix parameters in call to afs_close() OpenBSD passes an extra parameter in a call to afs_close() in its OS-specific code. It went undetected in the past but now causes compile headaches because of more accurate prototypes in the header file. This patch removes the offending extra parameter (which never actually caused any problems because it was the last one in the parameter list). Change-Id: I6bde0c6c98867c47a574fa5e3e01ec560deb17b0 Reviewed-on: http://gerrit.openafs.org/3685 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/afs/OBSD/osi_vnodeops.c b/src/afs/OBSD/osi_vnodeops.c index b45ba6c..317cb52 100644 --- a/src/afs/OBSD/osi_vnodeops.c +++ b/src/afs/OBSD/osi_vnodeops.c @@ -394,7 +394,7 @@ afs_obsd_close(void *v) int code; AFS_GLOCK(); - code = afs_close(VTOAFS(ap->a_vp), ap->a_fflag, ap->a_cred, ap->a_p); + code = afs_close(VTOAFS(ap->a_vp), ap->a_fflag, ap->a_cred); AFS_GUNLOCK(); return code; }