From eaaba59773002ca3ba3e15d1aea69ae4b9493359 Mon Sep 17 00:00:00 2001 From: Antoine Verheijen Date: Wed, 1 Dec 2010 15:40:04 -0700 Subject: [PATCH] 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 --- src/afs/OBSD/osi_vcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5