mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 00:10:15 +00:00
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 <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
6d8e3392b7
commit
5ff6c88fcc
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user