fix
authorChristian Grothoff <christian@grothoff.org>
Fri, 14 Sep 2012 12:23:59 +0000 (12:23 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 14 Sep 2012 12:23:59 +0000 (12:23 +0000)
src/dht/gnunet-dht-monitor.c

index 413f8c79ae740f2bd55aa3d30fe4d1b910711307..b16e91108334d42aef1ae31492bd97f947347e0c 100644 (file)
@@ -256,7 +256,8 @@ run (void *cls, char *const *args, const char *cfgfile,
   if (verbose)
   {
       if (GNUNET_TIME_UNIT_FOREVER_REL.rel_value != timeout_request.rel_value)
-        FPRINTF (stderr, "Monitoring for %lus\n", timeout_request.rel_value / 1000);
+        FPRINTF (stderr, "Monitoring for %s\n",
+                GNUNET_TIME_relative_to_string (timeout_request));
       else
         FPRINTF (stderr, "%s", "Monitoring indefinitely (close with Ctrl+C)\n");
   }