From 2c03ddd2efa4d866c87d0eb1287f3c8f58bd7887 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Mon, 10 Oct 2011 16:57:35 -0400 Subject: [PATCH] volinfo: fix bad format string we need a format string; currently here we have none, which is no good Change-Id: Idf6a04475f29ec1413d3d27f91b3c20a42e110cc Reviewed-on: http://gerrit.openafs.org/5591 Reviewed-by: Simon Wilkinson Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear (cherry-picked from 0676dc9e0c59e8aee3db5e0a7b4acf7229da7b88) Reviewed-on: http://gerrit.openafs.org/5883 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman --- src/vol/vol-info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vol/vol-info.c b/src/vol/vol-info.c index ed60bf09f9..9e19390da3 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); } }