From 77be9ca05883e5fb9578c1f3b2ae8be2fc13dda3 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 22 Nov 2018 13:29:25 +0100 Subject: Report config file name on error Change-Id: If3f97452e4defb5c8dd540dd75045d37824fb305 --- osysmon_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3