]> git.tue.mpg.de Git - paraslash.git/commitdiff
fade: Print the mixer device.
authorAndre Noll <maan@systemlinux.org>
Mon, 23 Aug 2010 11:39:16 +0000 (13:39 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 23 Aug 2010 11:39:16 +0000 (13:39 +0200)
Otherwise the error "no such file" can be misleading.

fade.c

diff --git a/fade.c b/fade.c
index 38fcdfe7914a7afeb63ee37e6db43b32abfebbed..d9f93ccf6c9f0f0452c748e2db0fbe67cfda200a 100644 (file)
--- a/fade.c
+++ b/fade.c
@@ -46,6 +46,7 @@ __printf_2_3 void para_log(__a_unused int ll, const char *fmt, ...)
  */
 static int open_mixer(void)
 {
+       PARA_INFO_LOG("opening %s\n", conf.mixer_device_arg);
        return para_open(conf.mixer_device_arg, O_RDWR, 42);
 }