From a13b2e7288e943359ccb37be86efb716efbe98c8 Mon Sep 17 00:00:00 2001 From: Brendan Van Hook Date: Fri, 2 Oct 2015 02:28:53 -0400 Subject: Added support for lemonbar --- src/print_cpu_usage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/print_cpu_usage.c') diff --git a/src/print_cpu_usage.c b/src/print_cpu_usage.c index 927e763..adf2d04 100644 --- a/src/print_cpu_usage.c +++ b/src/print_cpu_usage.c @@ -102,7 +102,7 @@ void print_cpu_usage(yajl_gen json_gen, char *buffer, const char *format) { } if (BEGINS_WITH(walk + 1, "usage")) { - outwalk += sprintf(outwalk, "%02d%%", diff_usage); + outwalk += sprintf(outwalk, "%02d%s", diff_usage, pct_mark); walk += strlen("usage"); } } -- cgit v1.2.3