Commit bced2f90 authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

Missed one occurrence of clock_gettime().


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1718 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 8588e933
......@@ -158,11 +158,11 @@ do_curses(struct varnish_stats *VSL_stats, int delay)
static void
do_once(struct varnish_stats *VSL_stats)
{
struct timespec ts;
struct timeval tv;
double up;
clock_gettime(CLOCK_REALTIME, &ts);
up = ts.tv_sec - VSL_stats->start_time;
gettimeofday(&tv, NULL);
up = tv.tv_sec - VSL_stats->start_time;
#define MAC_STAT(n, t, f, d) \
do { \
......
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