From 74c4f4ebdae8a12fc95840954dde574692234b01 Mon Sep 17 00:00:00 2001 From: Aaron Marcher Date: Sat, 19 May 2018 20:33:06 +0200 Subject: Add the percent sign to *_perc functions Units should be added to the corresponding numbers --- components/volume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/volume.c') diff --git a/components/volume.c b/components/volume.c index 8674211..0bfbe08 100644 --- a/components/volume.c +++ b/components/volume.c @@ -42,5 +42,5 @@ vol_perc(const char *card) close(afd); - return bprintf("%d", v & 0xff); + return bprintf("%d%%", v & 0xff); } -- cgit v1.2.3