X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/74c4f4ebdae8a12fc95840954dde574692234b01..37724ac2c3f496f4736223d0d8e5d8fecb933590:/components/volume.c 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); }