From 4d318f0cf5a04f89050f97cfb40383868c604aa6 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 21 Jul 2016 16:13:19 +0200 Subject: [PATCH] Fix #1968 print the ScratchPool name instead of just 'Scratch' --- bacula/src/dird/next_vol.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; } -- 2.39.5