]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
xstat: fix a malformed debug message
authorMichael Meffie <mmeffie@sinenomine.net>
Mon, 13 Jan 2014 20:38:44 +0000 (15:38 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Thu, 26 Jun 2014 09:30:19 +0000 (05:30 -0400)
a munged format specifier obscured the missing rn arg.

Reviewed-on: http://gerrit.openafs.org/10708
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
(cherry picked from commit ba0208f1d69c8c403150fb6312214f9b1c972c6d)

Change-Id: Ie422f4a7be98052fec9281be73eac1823e9ea57f
Reviewed-on: http://gerrit.openafs.org/11154
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Perry Ruiter <pruiter@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/xstat/xstat_cm.c

index ba67a4be0ce7843e2f39547380fe4afec8baf3e1..e17548f67a14256b589b2dab84dff0c46c2dfbf6 100644 (file)
@@ -518,7 +518,7 @@ xstat_cm_Init(int a_numServers, struct sockaddr_in *a_socketArray,
         */
        if (xstat_cm_debug) {
            printf("[%s] Copying in the following socket info:\n", rn);
-           printf("[%s] IP addr 0s, port %d\n",
+           printf("[%s] IP addr %s, port %d\n", rn,
                   afs_inet_ntoa_r((a_socketArray + curr_srv)->sin_addr.s_addr,hoststr),
                   ntohs((a_socketArray + curr_srv)->sin_port));
        }