]> git.tuebingen.mpg.de Git - paraslash.git/commit
oss mixer: Improve error message.
authorAndre Noll <maan@systemlinux.org>
Mon, 6 May 2013 12:36:15 +0000 (14:36 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 6 May 2013 12:36:15 +0000 (14:36 +0200)
commit9e32ff9e833fc27edec17842fbca4ae8538c67d3
tree7f7dbc3df2e67912721ef580e690567967e1b0ac
parent77ba62319ecf0e544a87662ea05c3c0e0344a070
oss mixer: Improve error message.

If /dev/mixer does not exist, para_fade fails with

main: No such file or directory

This is a rather bad error message, since the name of the missing file
is not mentioned. This patch makes oss_mix.c print the additional line

 oss_mix_open: could not open /dev/mixer
oss_mix.c