]> err.no Git - varnish/commitdiff
Give coords for WRONG
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 2 Mar 2009 12:56:03 +0000 (12:56 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 2 Mar 2009 12:56:03 +0000 (12:56 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3855 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_panic.c

index d70b48cc9179c05c616df2686fd532906a31b641..5521110173b085ee1ba4eee569d904652b95e12c 100644 (file)
@@ -260,7 +260,7 @@ pan_ic(const char *func, const char *file, int line, const char *cond,
        switch(xxx) {
        case 3:
                vsb_printf(vsp,
-                   "Wrong turn:\n%s\n", cond);
+                   "Wrong turn at %s:%d:\n%s\n", file, line, cond);
                break;
        case 2:
                vsb_printf(vsp,