Commit b3b52db5 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix a printf type complaint.

Also fix style.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3071 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent bb0a8f41
......@@ -212,10 +212,11 @@ do_once(struct varnish_stats *VSL_stats, const char* fields)
up = tv.tv_sec - VSL_stats->start_time;
do {
if (fields != NULL && ! show_field("uptime", fields ))
break;
printf("%-16s %12ju %12s %s\n", "uptime",
tv.tv_sec - VSL_stats->start_time, ". ", "Child uptime");
if (fields != NULL && ! show_field("uptime", fields ))
break;
printf("%-16s %12ju %12s %s\n", "uptime",
(uintmax_t)(tv.tv_sec - VSL_stats->start_time),
". ", "Child uptime");
} while (0);
#define MAC_STAT(n, t, f, d) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment