-static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.140 2010-10-28 17:02:07 hadaq Exp $";
+static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.141 2010-10-28 17:19:37 hadaq Exp $";
#define _POSIX_C_SOURCE 199309L
#define SYSLOG_NAMES
for (i = 0; i < theArgs->nrOfMsgs; i++) {
char buf[WORKER_MAX_NAME_LEN];
- sprintf(buf, "errBitStat1_%d", i);
+ sprintf(buf, "errBitStat0_%d", i);
theStats->errBitStat0[i] = Worker_addStatistic(worker, buf);
- sprintf(buf, "errBitStat2_%d", i);
+ sprintf(buf, "errBitStat1_%d", i);
theStats->errBitStat1[i] = Worker_addStatistic(worker, buf);
- sprintf(buf, "errBitStat3_%d", i);
+ sprintf(buf, "errBitStat2_%d", i);
theStats->errBitStat2[i] = Worker_addStatistic(worker, buf);
- sprintf(buf, "errBitStat4_%d", i);
+ sprintf(buf, "errBitStat3_%d", i);
theStats->errBitStat3[i] = Worker_addStatistic(worker, buf);
- sprintf(buf, "errBitStat5_%d", i);
+ sprintf(buf, "errBitStat4_%d", i);
theStats->errBitStat4[i] = Worker_addStatistic(worker, buf);
}