diff options
Diffstat (limited to 'src/util/test_common_logging.c')
-rw-r--r-- | src/util/test_common_logging.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/test_common_logging.c b/src/util/test_common_logging.c index 396bf3966..6ae50b36b 100644 --- a/src/util/test_common_logging.c +++ b/src/util/test_common_logging.c @@ -44,7 +44,7 @@ main (int argc, char *argv[]) unsigned int logs = 0; if (0 != putenv ("GNUNET_FORCE_LOG=")) - FPRINTF (stderr, "Failed to putenv: %s\n", strerror (errno)); + fprintf (stderr, "Failed to putenv: %s\n", strerror (errno)); GNUNET_log_setup ("test-common-logging", "DEBUG", "/dev/null"); GNUNET_logger_add (&my_log, &logs); GNUNET_logger_add (&my_log, &logs); @@ -60,7 +60,7 @@ main (int argc, char *argv[]) GNUNET_logger_remove (&my_log, &logs); if (logs != 4) { - FPRINTF (stdout, "Expected 4 log calls, got %u\n", logs); + fprintf (stdout, "Expected 4 log calls, got %u\n", logs); failureCount++; } GNUNET_break (0 == @@ -84,13 +84,13 @@ main (int argc, char *argv[]) GNUNET_logger_remove (&my_log, &logs); if (logs != 1) { - FPRINTF (stdout, "Expected 1 log call, got %u\n", logs); + fprintf (stdout, "Expected 1 log call, got %u\n", logs); failureCount++; } if (failureCount != 0) { - FPRINTF (stdout, "%u TESTS FAILED!\n", failureCount); + fprintf (stdout, "%u TESTS FAILED!\n", failureCount); return -1; } return 0; |