From: Antoine Verheijen Date: Wed, 1 Dec 2010 22:40:04 +0000 (-0700) Subject: OpenBSD: Fix variable name typo in osi_vcache.c X-Git-Tag: openafs-devel-1_7_1~1162 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=eaaba59773002ca3ba3e15d1aea69ae4b9493359 OpenBSD: Fix variable name typo in osi_vcache.c The osi_PostPopulateVCache() routine in the OpenBSD version of osi_vcache.c tries to use the non-existent variable "vc" instead of "avc". This fixes it. Change-Id: Idac09739d36e253518fbdbd600ab43c9ea87da3a Reviewed-on: http://gerrit.openafs.org/3418 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/afs/OBSD/osi_vcache.c b/src/afs/OBSD/osi_vcache.c index 6dca058..cbd37f8 100644 --- a/src/afs/OBSD/osi_vcache.c +++ b/src/afs/OBSD/osi_vcache.c @@ -61,6 +61,6 @@ osi_AttachVnode(struct vcache *avc, int seq) { void osi_PostPopulateVCache(struct vcache *avc) { AFSTOV(avc)->v_mount = afs_globalVFS; - vSetType(vc, VREG); + vSetType(avc, VREG); }