summaryrefslogtreecommitdiffstats
path: root/commands/dmesg.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/dmesg.c')
-rw-r--r--commands/dmesg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/dmesg.c b/commands/dmesg.c
index b2bb334e24..510bc16594 100644
--- a/commands/dmesg.c
+++ b/commands/dmesg.c
@@ -68,7 +68,7 @@ static int do_dmesg(int argc, char *argv[])
*(buf + len) = '\n';
*(buf + len + 1) = 0;
- pr_info(buf);
+ pr_info("%s", buf);
free(buf);