]> git.sur5r.net Git - bacula/bacula/commitdiff
Add quotes around resource name in status output
authorKern Sibbald <kern@sibbald.com>
Fri, 3 Sep 2010 15:42:05 +0000 (17:42 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 7 Sep 2010 19:05:35 +0000 (21:05 +0200)
bacula/src/dird/ua_status.c

index b6d2b0d93490ff566c3f8e1e115e96acb4e78033..b1483f8c28ed39162476dfee6edacc80f71e6f9c 100644 (file)
@@ -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"));
          }