From: Eric Bollengier Date: Tue, 17 Jun 2008 18:06:10 +0000 (+0000) Subject: ebl fix segfault with debug > 200 X-Git-Tag: Release-7.0.0~4445 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b56a2fbfc0757162c1e225bea17f4df0c7a71365;p=bacula%2Fbacula ebl fix segfault with debug > 200 git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7157 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/dird/jobq.c b/bacula/src/dird/jobq.c index 26a3316d6e..e8900f2b04 100644 --- a/bacula/src/dird/jobq.c +++ b/bacula/src/dird/jobq.c @@ -742,7 +742,7 @@ static void dec_read_store(JCR *jcr) if (jcr->rstore) { jcr->rstore->NumConcurrentReadJobs--; /* back out rstore */ jcr->rstore->NumConcurrentJobs--; /* back out rstore */ - Dmsg1(200, "Dec wncj=%d\n", jcr->wstore->NumConcurrentJobs); + Dmsg1(200, "Dec wncj=%d\n", jcr->rstore->NumConcurrentJobs); ASSERT(jcr->rstore->NumConcurrentReadJobs >= 0); ASSERT(jcr->rstore->NumConcurrentJobs >= 0); }