From 416c2f5a713b93ba689a8cd1e038682a53e6bc17 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 30 Dec 2011 22:42:04 +0000 Subject: -LRN: use FPRINTF -- #2051 --- src/dht/test_dht_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dht/test_dht_api.c') diff --git a/src/dht/test_dht_api.c b/src/dht/test_dht_api.c index e636c08ba..4ec2f2ae9 100644 --- a/src/dht/test_dht_api.c +++ b/src/dht/test_dht_api.c @@ -97,7 +97,7 @@ static int ok; static GNUNET_SCHEDULER_TaskIdentifier die_task; #if VERBOSE -#define OKPP do { ok++; fprintf (stderr, "Now at stage %u at %s:%u\n", ok, __FILE__, __LINE__); } while (0) +#define OKPP do { ok++; FPRINTF (stderr, "Now at stage %u at %s:%u\n", ok, __FILE__, __LINE__); } while (0) #else #define OKPP do { ok++; } while (0) #endif @@ -133,7 +133,7 @@ end_badly () { /* do work here */ #if VERBOSE - fprintf (stderr, "Ending on an unhappy note.\n"); + FPRINTF (stderr, "%s", "Ending on an unhappy note.\n"); #endif if ((retry_context.peer_ctx != NULL) && -- cgit v1.2.3