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 38fcdfe..d9f93cc 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);
 }