From 934db5a688790e1bb3100f7d560608478e8a7dfe Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 13 Aug 2009 20:28:12 +0200 Subject: [PATCH] Missed commiting one file last time --- bacula/src/stored/reserve.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/stored/reserve.c b/bacula/src/stored/reserve.c index 742c9b512b..2326d1bb9e 100644 --- a/bacula/src/stored/reserve.c +++ b/bacula/src/stored/reserve.c @@ -761,7 +761,7 @@ static bool reserve_device_for_read(DCR *dcr) dev->dlock(); - if (is_device_unmounted(dev)) { + if (dev->is_device_unmounted()) { Dmsg1(dbglvl, "Device %s is BLOCKED due to user unmount.\n", dev->print_name()); Mmsg(jcr->errmsg, _("3601 JobId=%u device %s is BLOCKED due to user unmount.\n"), jcr->JobId, dev->print_name()); @@ -828,7 +828,7 @@ static bool reserve_device_for_append(DCR *dcr, RCTX &rctx) } /* If device is unmounted, we are out of luck */ - if (is_device_unmounted(dev)) { + if (dev->is_device_unmounted()) { Mmsg(jcr->errmsg, _("3604 JobId=%u device %s is BLOCKED due to user unmount.\n"), jcr->JobId, dev->print_name()); Dmsg1(dbglvl, "%s", jcr->errmsg); -- 2.39.5