From: phk Date: Sun, 20 Aug 2006 07:32:50 +0000 (+0000) Subject: Remember to open the shmlog X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c53560188fdadfb9ef0aa2b4d7278eef884bba4c;p=varnish Remember to open the shmlog git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@843 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishhist/varnishhist.c b/varnish-cache/bin/varnishhist/varnishhist.c index f0860ce8..0dee6591 100644 --- a/varnish-cache/bin/varnishhist/varnishhist.c +++ b/varnish-cache/bin/varnishhist/varnishhist.c @@ -116,6 +116,9 @@ main(int argc, char **argv) } } + if (VSL_OpenLog(vd)) + exit (1); + c_hist = 10.0 / log(10.0); initscr(); erase();