diff options
author | Aaron Marcher <info@nulltime.net> | 2017-01-09 12:05:29 +0100 |
---|---|---|
committer | Aaron Marcher <info@nulltime.net> | 2017-01-09 12:05:29 +0100 |
commit | 3f976aabc08dd7d4762b0e04f0cbe8550f0e3ced (patch) | |
tree | 1dfef74232f01691d28aa038b6821483b076ab28 /slstatus.c | |
parent | a3cb24c438778a749767459900ad8ee6316cffdd (diff) |
Makefile fix and vol_perc fix for mute
Diffstat (limited to 'slstatus.c')
-rw-r--r-- | slstatus.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -658,9 +658,7 @@ vol_perc(const char *card) } close(afd); - if (v == 0) { - return smprintf("mute"); - } + return smprintf("%d%%", v & 0xff); } |