summaryrefslogtreecommitdiff
path: root/lib/printbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/printbuf.c')
-rw-r--r--lib/printbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/printbuf.c b/lib/printbuf.c
index e0dfa82cdad6..4312e83f209b 100644
--- a/lib/printbuf.c
+++ b/lib/printbuf.c
@@ -221,7 +221,7 @@ void pr_uuid(struct printbuf *out, u8 *uuid)
char uuid_str[40];
uuid_unparse_lower(uuid, uuid_str);
- pr_buf(out, uuid_str);
+ pr_buf(out, "%s", uuid_str);
}
#endif