summaryrefslogtreecommitdiff
path: root/components/volume.c
diff options
context:
space:
mode:
authorAaron Marcher <me@drkhsh.at>2018-05-19 20:33:06 +0200
committerAaron Marcher <me@drkhsh.at>2018-05-19 20:33:06 +0200
commitb344327c71dd1ec8b1b386dcc06a00e424c65bed (patch)
tree01b98fbca2665bffd74a65daf67c658ca21217bb /components/volume.c
parent763e115afd6eefd41f0259787d188ee0aedef063 (diff)
Add the percent sign to *_perc functions
Units should be added to the corresponding numbers
Diffstat (limited to 'components/volume.c')
-rw-r--r--components/volume.c2
1 files changed, 1 insertions, 1 deletions
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);
}