viced: fix log message in hpr initialize
authorMichael Meffie <mmeffie@sinenomine.net>
Wed, 29 Feb 2012 16:08:10 +0000 (11:08 -0500)
committerDerrick Brashear <shadow@dementix.org>
Sun, 4 Mar 2012 16:01:35 +0000 (08:01 -0800)
The wrong dir object is used to log an error in hpr
initialize.

Change-Id: I4460b541a6458742839b47e8277990f426b233a7
Reviewed-on: http://gerrit.openafs.org/6845
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>

src/viced/host.c

index ef5deef..8ec0b38 100644 (file)
@@ -278,7 +278,7 @@ hpr_Initialize(struct ubik_client **uclient)
     code = afsconf_GetCellInfo(tdir, cellstr, "afsprot", &info);
     if (code) {
        ViceLog(0, ("hpr_Initialize: Could not locate cell %s in %s/%s",
-                   cellstr, confDir->name, AFSDIR_CELLSERVDB_FILE));
+                   cellstr, tdir->name, AFSDIR_CELLSERVDB_FILE));
        afsconf_Close(tdir);
        return code;
     }