From: Kern Sibbald Date: Fri, 3 Sep 2010 15:42:05 +0000 (+0200) Subject: Add quotes around resource name in status output X-Git-Tag: Release-7.0.0~1594 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0fd7a927b6e228be4e49fff3ce86b6e5777bdd1c;p=bacula%2Fbacula Add quotes around resource name in status output --- diff --git a/bacula/src/dird/ua_status.c b/bacula/src/dird/ua_status.c index b6d2b0d934..b1483f8c28 100644 --- a/bacula/src/dird/ua_status.c +++ b/bacula/src/dird/ua_status.c @@ -678,9 +678,9 @@ static void list_running_jobs(UAContext *ua) case JS_WaitSD: emsg = (char *) get_pool_memory(PM_FNAME); if (jcr->wstore) { - Mmsg(emsg, _("is waiting on Storage %s"), jcr->wstore->name()); + Mmsg(emsg, _("is waiting on Storage \"%s\""), jcr->wstore->name()); } else if (jcr->rstore) { - Mmsg(emsg, _("is waiting on Storage %s"), jcr->rstore->name()); + Mmsg(emsg, _("is waiting on Storage \"%s\""), jcr->rstore->name()); } else { Mmsg(emsg, _("is waiting on Storage")); }