- fix
[oweals/gnunet.git] / src / nse / test_nse_api.c
index a2f73aaf4e3343af7c8b588e8bf10771879fdd69..f6cde3fe40b1f3d52f0d33c022cdce5c05778e0b 100644 (file)
@@ -93,7 +93,7 @@ check_nse_message (void *cls, struct GNUNET_TIME_Absolute timestamp,
 {
   int *ok = cls;
 
-  fprintf (stderr,
+  FPRINTF (stderr,
            "Received NSE message, estimate %f, standard deviation %f.\n",
            estimate, std_dev);
   /* Fantastic check below. Expect NaN, the only thing not equal to itself. */
@@ -110,7 +110,7 @@ setup_peer (struct PeerContext *p, const char *cfgname)
   p->cfg = GNUNET_CONFIGURATION_create ();
 #if START_ARM
   p->arm_proc =
-      GNUNET_OS_start_process (NULL, NULL, "gnunet-service-arm",
+    GNUNET_OS_start_process (GNUNET_YES, NULL, NULL, "gnunet-service-arm",
                                "gnunet-service-arm",
 #if VERBOSE_ARM
                                "-L", "DEBUG",
@@ -162,7 +162,7 @@ check ()
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Stopping arm.\n");
   stop_arm (&p1);
   if (0 != ok)
-    fprintf (stderr, "No information received from NSE service!\n");
+    FPRINTF (stderr, "%s",  "No information received from NSE service!\n");
   return ok;
 }