aboutsummaryrefslogtreecommitdiff
path: root/src/util/gnunet-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/gnunet-config.c')
-rw-r--r--src/util/gnunet-config.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/gnunet-config.c b/src/util/gnunet-config.c
index c91153f69..78c93c3b8 100644
--- a/src/util/gnunet-config.c
+++ b/src/util/gnunet-config.c
@@ -106,8 +106,8 @@ run (void *cls, char *const *args, const char *cfgfile,
106 if (GNUNET_OK != 106 if (GNUNET_OK !=
107 GNUNET_CONFIGURATION_get_value_filename (cfg, section, option, &value)) 107 GNUNET_CONFIGURATION_get_value_filename (cfg, section, option, &value))
108 { 108 {
109 fprintf (stderr, _("No value for option `%s' in section `%s'\n"), 109 GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
110 option, section); 110 section, option);
111 ret = 3; 111 ret = 3;
112 return; 112 return;
113 } 113 }
@@ -117,8 +117,8 @@ run (void *cls, char *const *args, const char *cfgfile,
117 if (GNUNET_OK != 117 if (GNUNET_OK !=
118 GNUNET_CONFIGURATION_get_value_string (cfg, section, option, &value)) 118 GNUNET_CONFIGURATION_get_value_string (cfg, section, option, &value))
119 { 119 {
120 fprintf (stderr, _("No value for option `%s' in section `%s'\n"), 120 GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
121 option, section); 121 section, option);
122 ret = 3; 122 ret = 3;
123 return; 123 return;
124 } 124 }