From: Michael Meffie Date: Wed, 29 Feb 2012 16:08:10 +0000 (-0500) Subject: viced: fix log message in hpr initialize X-Git-Tag: upstream/1.8.0_pre1^2~2708 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=fc1c58910c5991fa9d132d171d1d976dbfc44a95;p=packages%2Fo%2Fopenafs.git viced: fix log message in hpr initialize 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 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/viced/host.c b/src/viced/host.c index ef5deef30..8ec0b386e 100644 --- a/src/viced/host.c +++ b/src/viced/host.c @@ -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; }