--- names.c.orig 2006-09-29 13:53:26.000000000 +0200 +++ names.c 2007-05-22 22:15:29.000000000 +0200 @@ -535,7 +535,7 @@ err = snd_output_stdio_open(&out, cfgfile, "w+"); } if (err < 0) { - error("Cannot open %s for writing", cfgfile); + error("Cannot open %s for writing: %s", cfgfile, snd_strerror(err)); return -errno; } err = snd_config_save(config, out);