aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-11-22 13:29:25 +0100
committerMax <msuraev@sysmocom.de>2018-11-22 13:29:25 +0100
commit77be9ca05883e5fb9578c1f3b2ae8be2fc13dda3 (patch)
tree4b1d9220bc3e9f5eb7812b2a7cbfb18b90bf2d23
parent8ccc930cc80751012622b191eb16467cbd397cfb (diff)
Report config file name on error
-rw-r--r--osysmon_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osysmon_main.c b/osysmon_main.c
index eaed1a9..98859ed 100644
--- a/osysmon_main.c
+++ b/osysmon_main.c
@@ -129,7 +129,7 @@ int main(int argc, char **argv)
rc = vty_read_config_file(config_file, NULL);
if (rc < 0) {
- fprintf(stderr, "Failed to parse the config file\n");
+ fprintf(stderr, "Failed to parse the config file %s\n", config_file);
exit(2);
}