mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:15:43 +01:00
aplay: fix the wrong pointer dereference in playbackv_go()
BugLink: https://github.com/alsa-project/alsa-utils/issues/70 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
c867aa8a84
commit
bccebc59a0
1 changed files with 1 additions and 1 deletions
|
@ -3343,7 +3343,7 @@ static void playbackv_go(int* fds, unsigned int channels, size_t loaded, off64_t
|
|||
do {
|
||||
r = safe_read(fds[0], bufs[0], expected);
|
||||
if (r < 0) {
|
||||
perror(names[channel]);
|
||||
perror(names[0]);
|
||||
prg_exit(EXIT_FAILURE);
|
||||
}
|
||||
for (channel = 1; channel < channels; ++channel) {
|
||||
|
|
Loading…
Reference in a new issue