X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/74c4f4ebdae8a12fc95840954dde574692234b01..c93971748cb4771aec25aee6e8ff5b7bbb1aacf3:/components/volume.c diff --git a/components/volume.c b/components/volume.c index 0bfbe08..8a70b20 100644 --- a/components/volume.c +++ b/components/volume.c @@ -1,5 +1,4 @@ /* See LICENSE file for copyright and license details. */ -#include #include #include #include @@ -42,5 +41,5 @@ vol_perc(const char *card) close(afd); - return bprintf("%d%%", v & 0xff); + return bprintf("%d", v & 0xff); }