output uptime in status in local time

This commit is contained in:
Andreas Steffen
2008-03-29 08:55:09 +00:00
parent d2aa6fcaeb
commit 40f9006845
+1 -1
View File
@@ -191,7 +191,7 @@ static void status(private_stroke_list_t *this, stroke_msg_t *msg, FILE *out, bo
{
uptime = time(NULL) - this->uptime;
fprintf(out, "Performance:\n");
fprintf(out, " uptime: %V, since %T\n", &uptime, &this->uptime);
fprintf(out, " uptime: %V, since %#T\n", &uptime, &this->uptime, FALSE);
fprintf(out, " worker threads: %d idle of %d,",
charon->processor->get_idle_threads(charon->processor),
charon->processor->get_total_threads(charon->processor));