From: Derrick Brashear Date: Mon, 10 Oct 2011 20:57:35 +0000 (-0400) Subject: volinfo: fix bad format string X-Git-Tag: upstream/1.8.0_pre1^2~3181 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=0676dc9e0c59e8aee3db5e0a7b4acf7229da7b88;p=packages%2Fo%2Fopenafs.git volinfo: fix bad format string we need a format string; currently here we have none, which is no good Change-Id: Ib097100383dba9d56056b96c5322734abb765f9d Reviewed-on: http://gerrit.openafs.org/5591 Reviewed-by: Simon Wilkinson Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/vol/vol-info.c b/src/vol/vol-info.c index ed60bf09f..9e19390da 100644 --- a/src/vol/vol-info.c +++ b/src/vol/vol-info.c @@ -1245,7 +1245,7 @@ HandleVnodes(Volume * vp, VnodeClass class) for (opr_queue_Scan(scanList, cursor)) { struct VnodeScanProc *entry = (struct VnodeScanProc *)cursor; if (entry->heading) { - printf(entry->heading); + printf("%s", entry->heading); } }