From 9e56d38942f4d2ec068a0ae81c6dd9349ac8d1c3 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 7 Apr 2013 01:05:56 +0000 Subject: [PATCH] audioc: Print config file errors. Currently para_audioc fails silently if the config file contains errors. This patch makes it print a proper error message in this case. --- audioc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/audioc.c b/audioc.c index 74fb11cb..42b4628b 100644 --- a/audioc.c +++ b/audioc.c @@ -294,7 +294,9 @@ int main(int argc, char *argv[]) .override = 0, .initialize = 0, .check_required = 0, - .check_ambiguity = 0 + .check_ambiguity = 0, + .print_errors = 1, + }; ret = audioc_cmdline_parser_config_file(cf, &conf, ¶ms); free(cf); -- 2.39.5