aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2012-06-22 13:56:02 -0500
committerDan Williams <dcbw@redhat.com>2012-06-22 13:56:02 -0500
commitd20f33b5c9bf0c187725d96e90acd673a120a409 (patch)
treec8e1e2e0f51a2359314e9d6096803b05aeece2b4
parent16d85f7b33b51beaf7c6155eb2d939c338b811f5 (diff)
trivial: fix format string
-rw-r--r--uml290/uml290mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uml290/uml290mode.c b/uml290/uml290mode.c
index 7e910dc9..b1199008 100644
--- a/uml290/uml290mode.c
+++ b/uml290/uml290mode.c
@@ -47,7 +47,7 @@ print_buf (const char *detail, const char *buf, size_t len)
u_int32_t flen;
flen = snprintf (tmp, sizeof (tmp) - 1, "%s (%zu) ", detail, len);
- fprintf (stdout, tmp);
+ fprintf (stdout, "%s", tmp);
for (i = 0; i < len; i++) {
fprintf (stdout, "%02x ", buf[i] & 0xFF);
if (((i + 1) % 16) == 0) {