From: Derrick Brashear Date: Mon, 10 Oct 2011 20:57:35 +0000 (-0400) Subject: volinfo: fix bad format string X-Git-Tag: upstream/1.6.10_pre1^2~19 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=56628f3ec8cb635c3dbd6fbbaa7a6649b6bdf5b1;p=packages%2Fo%2Fopenafs.git volinfo: fix bad format string we need a format string; currently here we have none, which is no good Reviewed-on: http://gerrit.openafs.org/5591 Reviewed-by: Simon Wilkinson Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear (cherry picked from commit 0676dc9e0c59e8aee3db5e0a7b4acf7229da7b88) Change-Id: I665eabadee79c358562b831bf15d513e4f945f75 Reviewed-on: http://gerrit.openafs.org/11265 Reviewed-by: Chas Williams - CONTRACTOR Reviewed-by: Andrew Deason Tested-by: BuildBot Reviewed-by: Stephan Wiesand --- diff --git a/src/vol/vol-info.c b/src/vol/vol-info.c index 82b7ad3a9..675d35ea3 100644 --- a/src/vol/vol-info.c +++ b/src/vol/vol-info.c @@ -1265,7 +1265,7 @@ HandleVnodes(Volume * vp, VnodeClass class) for (queue_Scan(scanList, entry, next, VnodeScanProc)) { if (entry->heading) { - printf(entry->heading); + printf("%s", entry->heading); } }