From 6e599264ad13e8fc105493d74d7c11d46f8739ed Mon Sep 17 00:00:00 2001 From: ng0 Date: Fri, 6 Sep 2019 22:46:29 +0000 Subject: first step to remove plibc --- src/datastore/perf_plugin_datastore.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/datastore/perf_plugin_datastore.c') diff --git a/src/datastore/perf_plugin_datastore.c b/src/datastore/perf_plugin_datastore.c index f68d1f389..564f8f37b 100644 --- a/src/datastore/perf_plugin_datastore.c +++ b/src/datastore/perf_plugin_datastore.c @@ -122,7 +122,7 @@ put_continuation (void *cls, if (GNUNET_OK != status) { - FPRINTF (stderr, "ERROR: `%s'\n", msg); + fprintf (stderr, "ERROR: `%s'\n", msg); } else { @@ -477,7 +477,7 @@ load_plugin (const struct GNUNET_CONFIGURATION_Handle *cfg) GNUNET_asprintf (&libname, "libgnunet_plugin_datastore_%s", name); if (NULL == (ret = GNUNET_PLUGIN_load (libname, &env))) { - FPRINTF (stderr, "Failed to load plugin `%s'!\n", name); + fprintf (stderr, "Failed to load plugin `%s'!\n", name); GNUNET_free (name); GNUNET_free (libname); return NULL; @@ -503,7 +503,7 @@ run (void *cls, char *const *args, const char *cfgfile, api = load_plugin (c); if (api == NULL) { - FPRINTF (stderr, + fprintf (stderr, "%s", "Could not initialize plugin, assuming database not configured. Test not run!\n"); return; } @@ -544,7 +544,7 @@ main (int argc, char *argv[]) GNUNET_PROGRAM_run ((sizeof (xargv) / sizeof (char *)) - 1, xargv, "perf-plugin-datastore", "nohelp", options, &run, NULL); if (ok != 0) - FPRINTF (stderr, "Missed some testcases: %u\n", ok); + fprintf (stderr, "Missed some testcases: %u\n", ok); GNUNET_DISK_directory_remove (dir_name); return ok; -- cgit v1.2.3