From 9b16113b3b80fa45cceb29b2c8ba8f7612151bd1 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 1 Apr 2007 13:30:13 +0000 Subject: [PATCH] More reserve debug code git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4490 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/stored/reserve.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bacula/src/stored/reserve.c b/bacula/src/stored/reserve.c index 866524fb50..c1d4dc4c91 100644 --- a/bacula/src/stored/reserve.c +++ b/bacula/src/stored/reserve.c @@ -972,8 +972,10 @@ static int can_reserve_drive(DCR *dcr, RCTX &rctx) return 1; } else { /* Drive Pool not suitable for us */ - Mmsg(jcr->errmsg, _("3608 JobId=%u wants Pool=\"%s\" but have Pool=\"%s\" on drive %s.\n"), - jcr->JobId, dcr->pool_name, dev->pool_name, dev->print_name()); + Mmsg(jcr->errmsg, _( +"3608 JobId=%u wants Pool=\"%s\" but have Pool=\"%s\" nreserve=%d on drive %s.\n"), + jcr->JobId, dcr->pool_name, dev->pool_name, + dev->reserved_device, dev->print_name()); queue_reserve_message(jcr); Dmsg2(110, "failed: busy num_writers=0, reserved, pool=%s wanted=%s\n", dev->pool_name, dcr->pool_name); -- 2.39.5