OpenBSD: Fix variable name typo in osi_vcache.c
authorAntoine Verheijen <antoine@ualberta.ca>
Wed, 1 Dec 2010 22:40:04 +0000 (15:40 -0700)
committerDerrick Brashear <shadow@dementia.org>
Thu, 2 Dec 2010 06:22:48 +0000 (22:22 -0800)
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 <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>

src/afs/OBSD/osi_vcache.c

index 6dca058..cbd37f8 100644 (file)
@@ -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);
 }