aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/volume.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/volume.c b/src/volume.c
index 706b686b6..16f130650 100644
--- a/src/volume.c
+++ b/src/volume.c
@@ -118,7 +118,6 @@ int getOssVolumeLevel() {
int left, right, level;
if(ioctl(volume_ossFd,MIXER_READ(volume_ossControl),&level) < 0) {
- while(close(volume_ossFd)<0 && errno==EINTR);
ERROR("unable to read volume\n");
return -1;
}