summaryrefslogtreecommitdiff
path: root/slstatus.c
diff options
context:
space:
mode:
Diffstat (limited to 'slstatus.c')
-rw-r--r--slstatus.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/slstatus.c b/slstatus.c
index 6d2e89e..89186d6 100644
--- a/slstatus.c
+++ b/slstatus.c
@@ -658,9 +658,7 @@ vol_perc(const char *card)
}
close(afd);
- if (v == 0) {
- return smprintf("mute");
- }
+
return smprintf("%d%%", v & 0xff);
}