-ecc sign/verify only
[oweals/gnunet.git] / src / util / gnunet-config.c
index c91153f69914e1bd476dcaeb8327f8c7dd4bfdc5..78c93c3b854900d0c4f37b4d4fdfdb5e63852d6b 100644 (file)
@@ -106,8 +106,8 @@ run (void *cls, char *const *args, const char *cfgfile,
        if (GNUNET_OK !=
            GNUNET_CONFIGURATION_get_value_filename (cfg, section, option, &value))
        {
-         fprintf (stderr, _("No value for option `%s' in section `%s'\n"),
-                  option, section);
+         GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
+                                    section, option);
          ret = 3;
          return;
        }
@@ -117,8 +117,8 @@ run (void *cls, char *const *args, const char *cfgfile,
        if (GNUNET_OK !=
            GNUNET_CONFIGURATION_get_value_string (cfg, section, option, &value))
        {
-         fprintf (stderr, _("No value for option `%s' in section `%s'\n"),
-                  option, section);
+         GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
+                                    section, option);
          ret = 3;
          return;
        }