From e4d33e9d2894d436fef141dcb6b2e52159eefccf Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Wed, 28 Jan 2015 18:50:08 +0100 Subject: [PATCH] Remove a double % in the output --- cmdline/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdline/device.c b/cmdline/device.c index a3b394e9..8be2e663 100644 --- a/cmdline/device.c +++ b/cmdline/device.c @@ -276,7 +276,7 @@ static void printl(const char* str, size_t pad) static void printp(double v, size_t pad) { char buf[64]; - const char* s = "%%"; + const char* s = "%"; if (v > 0.1) snprintf(buf, sizeof(buf), "%5.2f%s", v, s);