volinfo: fix bad format string
authorDerrick Brashear <shadow@dementix.org>
Mon, 10 Oct 2011 20:57:35 +0000 (16:57 -0400)
committerDerrick Brashear <shadow@dementix.org>
Mon, 10 Oct 2011 21:04:44 +0000 (14:04 -0700)
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 <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>

src/vol/vol-info.c

index ed60bf0..9e19390 100644 (file)
@@ -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);
        }
     }