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-5.2.1~1129 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a1c305628a2e26c4653917ecfdc39f7779eeaf93;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")); }