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.6.2_pre2^2~69 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=b431a9a8c1b6c62206864352f3cde54efa517d5d;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. Reviewed-on: http://gerrit.openafs.org/6845 Tested-by: BuildBot Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear (cherry picked from commit fc1c58910c5991fa9d132d171d1d976dbfc44a95) Change-Id: I3defc0687184885488f612f913555fc2c9189fac Reviewed-on: http://gerrit.openafs.org/8585 Tested-by: BuildBot Reviewed-by: Derrick Brashear Reviewed-by: Ken Dreyer Tested-by: Ken Dreyer Reviewed-by: Paul Smeddle Reviewed-by: Stephan Wiesand --- diff --git a/src/viced/host.c b/src/viced/host.c index ee5c1620e..71cad29b6 100644 --- a/src/viced/host.c +++ b/src/viced/host.c @@ -290,7 +290,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; }