fix a couple of compiler warnings

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1768 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2007-09-04 20:01:19 +00:00
parent 2dbe137daf
commit 4c31ff9b45
7 changed files with 11 additions and 10 deletions

View file

@ -135,7 +135,7 @@ static int mmap_write(struct userdata *u) {
if (err == -EAGAIN)
return work_done;
pa_log("snd_pcm_avail_update: %s", snd_strerror(n));
pa_log("snd_pcm_avail_update: %s", snd_strerror(err));
return -1;
}
@ -225,7 +225,7 @@ static int unix_write(struct userdata *u) {
int err;
if ((err = snd_pcm_status(u->pcm_handle, status)) < 0) {
pa_log("Failed to query DSP status data: %s", snd_strerror(t));
pa_log("Failed to query DSP status data: %s", snd_strerror(err));
return -1;
}

View file

@ -132,7 +132,7 @@ static int mmap_read(struct userdata *u) {
if (err == -EAGAIN)
return work_done;
pa_log("snd_pcm_avail_update: %s", snd_strerror(n));
pa_log("snd_pcm_avail_update: %s", snd_strerror(err));
return -1;
}
@ -216,7 +216,7 @@ static int unix_read(struct userdata *u) {
pa_memchunk chunk;
if ((err = snd_pcm_status(u->pcm_handle, status)) < 0) {
pa_log("Failed to query DSP status data: %s", snd_strerror(t));
pa_log("Failed to query DSP status data: %s", snd_strerror(err));
return -1;
}