]> granicus.if.org Git - libevent/commitdiff
Fix compile on Snow Leopard with gcc warnings enabled
authorSebastian Hahn <sebastian@torproject.org>
Sun, 6 Dec 2009 01:59:19 +0000 (02:59 +0100)
committerSebastian Hahn <sebastian@torproject.org>
Sun, 6 Dec 2009 01:59:19 +0000 (02:59 +0100)
test/regress_main.c

index 685ac14bfd54d0564c67370c07faa817ec245838..cb692775aef75760224198ff3be8827d0e03aead 100644 (file)
@@ -93,7 +93,7 @@ int in_legacy_test_wrapper = 0;
 
 static void dnslogcb(int w, const char *m)
 {
-        TT_BLATHER((m));
+        TT_BLATHER(("%s", m));
 }
 
 /* creates a temporary file with the data in it */