X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/74c4f4ebdae8a12fc95840954dde574692234b01..ec5c35ec9f23254f09e734d0c1880559774dfa52:/components/volume.c?ds=sidebyside diff --git a/components/volume.c b/components/volume.c index 0bfbe08..8674211 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); }