diff options
-rw-r--r-- | src/arm/test_gnunet_service_manager.c | 2 | ||||
-rw-r--r-- | src/datacache/test_datacache.c | 3 | ||||
-rw-r--r-- | src/datastore/test_plugin_datastore.c | 2 | ||||
-rw-r--r-- | src/fs/test_fs_file_information.c | 3 | ||||
-rw-r--r-- | src/util/test_resolver_api.c | 2 |
5 files changed, 7 insertions, 5 deletions
diff --git a/src/arm/test_gnunet_service_manager.c b/src/arm/test_gnunet_service_manager.c index dd12bbd31..413a9e760 100644 --- a/src/arm/test_gnunet_service_manager.c +++ b/src/arm/test_gnunet_service_manager.c | |||
@@ -162,7 +162,7 @@ main (int argc, char *argv[]) | |||
162 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK, | 162 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK, |
163 | "gethostname"); | 163 | "gethostname"); |
164 | FPRINTF (stderr, | 164 | FPRINTF (stderr, |
165 | "Failed to determine my own hostname, testcase not run.\n", NULL); | 165 | "%s", "Failed to determine my own hostname, testcase not run.\n"); |
166 | return 0; | 166 | return 0; |
167 | } | 167 | } |
168 | if (NULL == gethostbyname (hostname)) | 168 | if (NULL == gethostbyname (hostname)) |
diff --git a/src/datacache/test_datacache.c b/src/datacache/test_datacache.c index ff3640b6f..4f106d9e0 100644 --- a/src/datacache/test_datacache.c +++ b/src/datacache/test_datacache.c | |||
@@ -72,7 +72,8 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
72 | if (h == NULL) | 72 | if (h == NULL) |
73 | { | 73 | { |
74 | FPRINTF (stderr, | 74 | FPRINTF (stderr, |
75 | "Failed to initialize datacache. Database likely not setup, skipping test.\n", NULL); | 75 | "%s", |
76 | "Failed to initialize datacache. Database likely not setup, skipping test.\n"); | ||
76 | return; | 77 | return; |
77 | } | 78 | } |
78 | exp = GNUNET_TIME_absolute_get (); | 79 | exp = GNUNET_TIME_absolute_get (); |
diff --git a/src/datastore/test_plugin_datastore.c b/src/datastore/test_plugin_datastore.c index ca894ff33..ea9e85d70 100644 --- a/src/datastore/test_plugin_datastore.c +++ b/src/datastore/test_plugin_datastore.c | |||
@@ -344,7 +344,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
344 | if (api == NULL) | 344 | if (api == NULL) |
345 | { | 345 | { |
346 | FPRINTF (stderr, | 346 | FPRINTF (stderr, |
347 | "Could not initialize plugin, assuming database not configured. Test not run!\n", NULL); | 347 | "%s", "Could not initialize plugin, assuming database not configured. Test not run!\n"); |
348 | return; | 348 | return; |
349 | } | 349 | } |
350 | crc = GNUNET_malloc (sizeof (struct CpsRunContext)); | 350 | crc = GNUNET_malloc (sizeof (struct CpsRunContext)); |
diff --git a/src/fs/test_fs_file_information.c b/src/fs/test_fs_file_information.c index 34ac3285e..0a2969cd3 100644 --- a/src/fs/test_fs_file_information.c +++ b/src/fs/test_fs_file_information.c | |||
@@ -152,7 +152,8 @@ testThumbnail () | |||
152 | if (ex == NULL) | 152 | if (ex == NULL) |
153 | { | 153 | { |
154 | FPRINTF (stderr, | 154 | FPRINTF (stderr, |
155 | "Test incomplete, have no GTK thumbnail extractor available.\n", NULL); | 155 | "%s", |
156 | "Test incomplete, have no GTK thumbnail extractor available.\n"); | ||
156 | return 0; /* can not test, no thumbnailer */ | 157 | return 0; /* can not test, no thumbnailer */ |
157 | } | 158 | } |
158 | ex = EXTRACTOR_plugin_add_config (ex, "mime", | 159 | ex = EXTRACTOR_plugin_add_config (ex, "mime", |
diff --git a/src/util/test_resolver_api.c b/src/util/test_resolver_api.c index 75140f8d5..c96030698 100644 --- a/src/util/test_resolver_api.c +++ b/src/util/test_resolver_api.c | |||
@@ -265,7 +265,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
265 | hstrerror (h_errno)); | 265 | hstrerror (h_errno)); |
266 | #endif | 266 | #endif |
267 | FPRINTF (stderr, | 267 | FPRINTF (stderr, |
268 | "System seems to be off-line, will not run all DNS tests\n", NULL); | 268 | "%s", "System seems to be off-line, will not run all DNS tests\n"); |
269 | *ok = 0; /* mark test as passing anyway */ | 269 | *ok = 0; /* mark test as passing anyway */ |
270 | return; | 270 | return; |
271 | } | 271 | } |