-w32 fprintf fix
authorChristian Grothoff <christian@grothoff.org>
Tue, 3 Apr 2012 13:01:03 +0000 (13:01 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 3 Apr 2012 13:01:03 +0000 (13:01 +0000)
src/transport/gnunet-helper-transport-wlan-dummy.c

index dddd51cb7ecfd90bffc1f0eb5567b698b07c07e5..846869e598317b4eaa51ea192d9a1a886047d3ba 100644 (file)
@@ -133,7 +133,7 @@ stdin_send (void *cls, void *client, const struct GNUNET_MessageHeader *hdr)
   if ( (GNUNET_MESSAGE_TYPE_WLAN_DATA_TO_HELPER != ntohs (hdr->type)) ||
        (sizeof (struct GNUNET_TRANSPORT_WLAN_RadiotapSendMessage) > sendsize) )
   {
-    fprintf (stderr, "Received malformed message\n");
+    FPRINTF (stderr, "%s", "Received malformed message\n");
     exit (1);
   }
   payload_size = sendsize - sizeof (struct GNUNET_TRANSPORT_WLAN_RadiotapSendMessage);