From: Eric Bollengier Date: Thu, 21 Jul 2016 14:13:19 +0000 (+0200) Subject: Fix #1968 print the ScratchPool name instead of just 'Scratch' X-Git-Tag: Release-7.4.4~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4d318f0cf5a04f89050f97cfb40383868c604aa6;p=bacula%2Fbacula Fix #1968 print the ScratchPool name instead of just 'Scratch' --- diff --git a/bacula/src/dird/next_vol.c b/bacula/src/dird/next_vol.c index 522e3234c1..f895e5c418 100644 --- a/bacula/src/dird/next_vol.c +++ b/bacula/src/dird/next_vol.c @@ -479,8 +479,9 @@ bool get_scratch_volume(JCR *jcr, bool InChanger, MEDIA_DBR *mr, goto bail_out; } - Jmsg(jcr, M_INFO, 0, _("Using Volume \"%s\" from 'Scratch' pool.\n"), - mr->VolumeName); + Jmsg(jcr, M_INFO, 0, _("Using Volume \"%s\" from '%s' %spool.\n"), + mr->VolumeName, spr.Name, + ((strcmp(spr.Name, "Scratch") == 0) ? "" : "Scratch ")); ok = true; }