From 60df98806b1aaf6ea4ba8f089faf8e9247b2fba5 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Tue, 17 Jan 2012 16:08:56 -0500 Subject: [PATCH] volinfo: fix formating of placeholder printfs needed to placate gcc-llvm on lion Change-Id: Ie15e4768d2e3feb7ad80dfef05395f2c4a227c0f Reviewed-on: http://gerrit.openafs.org/6565 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/vol/vol-info.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vol/vol-info.c b/src/vol/vol-info.c index 4d25444ea4..b7c7fc613e 100644 --- a/src/vol/vol-info.c +++ b/src/vol/vol-info.c @@ -2271,7 +2271,7 @@ PrintPartitionId(Volume * vp) } else { fprintf(stderr, "Invalid partition for volume id %lu\n", afs_printable_uint32_lu(V_id(vp))); - printf(PLACEHOLDER); + printf("%s", PLACEHOLDER); } } @@ -2374,7 +2374,7 @@ PrintNamei(Volume * vp, VnodeDiskObject * vnode) printf("%s", name.n_path); IH_RELEASE(ihP); #else - printf(PLACEHOLDER); + printf("%s", PLACEHOLDER); #endif } @@ -2481,7 +2481,7 @@ PrintColumns(struct VnodeDetails *vdp, const char *desc) if (vdp->t == VNODE_U_POS_ACCESS || vdp->t == VNODE_U_NEG_ACCESS) { printf("%d", vdp->u.access->id); } else { - printf(PLACEHOLDER); + printf("%s", PLACEHOLDER); } break; case col_arights: