mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
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:
parent
2dbe137daf
commit
4c31ff9b45
7 changed files with 11 additions and 10 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue