]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl fix segfault with debug > 200
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 17 Jun 2008 18:06:10 +0000 (18:06 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 17 Jun 2008 18:06:10 +0000 (18:06 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7157 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/dird/jobq.c

index 26a3316d6e4904401dc2c89c00d50bd30b89ed00..e8900f2b0478ba0e97ef77b8b6cba187a905ab02 100644 (file)
@@ -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);
    }