Change in osmo-sysmon[master]: Report config file name on error

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu Nov 22 12:44:52 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/11879 )

Change subject: Report config file name on error
......................................................................

Report config file name on error

Change-Id: If3f97452e4defb5c8dd540dd75045d37824fb305
---
M osysmon_main.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



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 @@
 
 	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);
 	}
 

-- 
To view, visit https://gerrit.osmocom.org/11879
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sysmon
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: If3f97452e4defb5c8dd540dd75045d37824fb305
Gerrit-Change-Number: 11879
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181122/4ad5af99/attachment.htm>


More information about the gerrit-log mailing list