From b574d97e23931c00f49fb3bd3a188dc1ce4fdb3a Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 19 Jul 2008 11:49:43 +0000 Subject: [PATCH] Explicitly specify index in name array. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2964 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_panic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishd/cache_panic.c b/varnish-cache/bin/varnishd/cache_panic.c index e5dbc1b7..1232397a 100644 --- a/varnish-cache/bin/varnishd/cache_panic.c +++ b/varnish-cache/bin/varnishd/cache_panic.c @@ -66,7 +66,7 @@ static char *pstr = panicstr; /* step names */ static const char *steps[] = { -#define STEP(l, u) "STP_" #u, +#define STEP(l, u) [STP_##u] = "STP_" #u, #include "steps.h" #undef STEP }; -- 2.39.5