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-stable-1_6_0pre1~24 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=a9095c0bc8b7ce7f48f0b90ed80233bb9d23aeaa;p=packages%2Fo%2Fopenafs.git 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. Reviewed-on: http://gerrit.openafs.org/3418 Tested-by: BuildBot Reviewed-by: Derrick Brashear (cherry picked from commit eaaba59773002ca3ba3e15d1aea69ae4b9493359) Change-Id: Id2e4af53a371c3b9e605752424c74c082d0c4182 Reviewed-on: http://gerrit.openafs.org/3455 Tested-by: Derrick Brashear --- diff --git a/src/afs/OBSD/osi_vcache.c b/src/afs/OBSD/osi_vcache.c index 6dca058f5..cbd37f81c 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); }