diff options
author | Max <msuraev@sysmocom.de> | 2018-11-22 13:29:25 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2018-11-22 13:29:25 +0100 |
commit | 77be9ca05883e5fb9578c1f3b2ae8be2fc13dda3 (patch) | |
tree | 4b1d9220bc3e9f5eb7812b2a7cbfb18b90bf2d23 | |
parent | 8ccc930cc80751012622b191eb16467cbd397cfb (diff) |
Report config file name on error
Change-Id: If3f97452e4defb5c8dd540dd75045d37824fb305
-rw-r--r-- | osysmon_main.c | 2 |
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); } |