Xinqi Bao's Git

Implement fmt_human_2() and fmt_human_10()
[slstatus.git] / components / volume.c
index 8674211..0bfbe08 100644 (file)
@@ -42,5 +42,5 @@ vol_perc(const char *card)
 
        close(afd);
 
-       return bprintf("%d", v & 0xff);
+       return bprintf("%d%%", v & 0xff);
 }