diff options
author | Aaron Marcher <me@drkhsh.at> | 2018-05-19 20:33:06 +0200 |
---|---|---|
committer | Aaron Marcher <me@drkhsh.at> | 2018-05-19 20:33:06 +0200 |
commit | 74c4f4ebdae8a12fc95840954dde574692234b01 (patch) | |
tree | 01b98fbca2665bffd74a65daf67c658ca21217bb /components/volume.c | |
parent | 68a3902dc533a66c1377409b34904f730ae4a7ef (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.c | 2 |
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); } |