]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
vlserver: Use the right variable for error code in SVL_GetStats
authorStephan Wiesand <stephan.wiesand@desy.de>
Tue, 4 Aug 2015 11:28:35 +0000 (13:28 +0200)
committerStephan Wiesand <stephan.wiesand@desy.de>
Thu, 5 Nov 2015 10:03:00 +0000 (05:03 -0500)
Commit 6c9fe7f80e4b5d9fb21609ee6743470d39dfb8f5 missed one instance
of "code" (as used on the master branch) that should have been changed
to "errorcode" (as used on the 1.6 branch) as part of the cherry-pick.

Fix this so that the right varlue is returned.

This is a 1.6-only change.

Change-Id: I97d9ac5961836843b617bab007d0c4d8bed82fef
Reviewed-on: http://gerrit.openafs.org/11970
Reviewed-by: Daria Phoebe Brashear <shadow@your-file-system.com>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/vlserver/vlprocs.c

index 7f486c828dbf1bef669dda79196ceae1b00ef8a9..dd68b3bf29b1911eea655b88cc53f5f09ef3c01f 100644 (file)
@@ -2019,7 +2019,7 @@ SVL_GetStats(struct rx_call *rxcall,
 #ifdef notdef
     /* Allow users to get statistics freely */
     if (!afsconf_SuperUser(vldb_confdir, rxcall, NULL)) {      /* Must be in 'UserList' to use */
-       code = VL_PERM;
+       errorcode = VL_PERM;
        goto end;
     }
 #endif