From accf3bcdd5393681625f4cba51edf9df5c610212 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sun, 31 Aug 2008 12:30:28 +0000 Subject: [PATCH] ebl tweak autochanger content output git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7532 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/dird/ua_label.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bacula/src/dird/ua_label.c b/bacula/src/dird/ua_label.c index c9b160bd58..e8cfabac6d 100644 --- a/bacula/src/dird/ua_label.c +++ b/bacula/src/dird/ua_label.c @@ -1059,8 +1059,8 @@ void status_slots(UAContext *ua, STORE *store_r) goto bail_out; } if (!ua->api) { - ua->info_msg(_(" Slot | Volume Name | Status | Type | Pool | Loaded |\n")); - ua->info_msg(_("------+------------------+-----------+------------+--------------------+---------|\n")); + ua->info_msg(_(" Slot | Volume Name | Status | Type | Pool | Loaded |\n")); + ua->info_msg(_("------+------------------+-----------+----------------------+--------------------+---------|\n")); } /* Walk through the list getting the media records */ for (vl=vol_list; vl; vl=vl->next) { @@ -1080,7 +1080,7 @@ void status_slots(UAContext *ua, STORE *store_r) if (!vl->VolName) { Dmsg1(100, "No VolName for Slot=%d.\n", vl->Slot); if (!ua->api) { - ua->info_msg(_(" %4i%c| %16s | %9s | %10s | %18s | %i |\n"), + ua->info_msg(_(" %4i%c| %16s | %9s | %20s | %18s | %i |\n"), vl->Slot, '*', "?", "?", "?", "?", 0); } else { @@ -1093,7 +1093,7 @@ void status_slots(UAContext *ua, STORE *store_r) for (; i < vl->Slot; i++) { if (slot_list[i]) { if (!ua->api) { - ua->info_msg(_(" %4i | %16s | %9s | %10s | %18s | %i |\n"), + ua->info_msg(_(" %4i | %16s | %9s | %20s | %18s | %i |\n"), i, "", "", "", "", 0); } else { ua->info_msg(_("%i||||||\n"), i); @@ -1114,7 +1114,7 @@ void status_slots(UAContext *ua, STORE *store_r) if (!ua->api) { /* Print information */ - ua->info_msg(_(" %4i%c| %16s | %9s | %10s | %18s | %i |\n"), + ua->info_msg(_(" %4i%c| %16s | %9s | %20s | %18s | %i |\n"), vl->Slot, ((vl->Slot==mr.Slot)?' ':'*'), mr.VolumeName, mr.VolStatus, mr.MediaType, pr.Name, 0); } else { @@ -1125,7 +1125,7 @@ void status_slots(UAContext *ua, STORE *store_r) db_unlock(ua->db); continue; } else { /* TODO: get information from catalog */ - ua->info_msg(_(" %4i%c| %16s | %9s | %10s | %18s | %i |\n"), + ua->info_msg(_(" %4i%c| %16s | %9s | %20s | %18s | %i |\n"), vl->Slot, '*', mr.VolumeName, "?", "?", "?", 0); } @@ -1137,7 +1137,7 @@ void status_slots(UAContext *ua, STORE *store_r) for (; i <= max_slots; i++) { if (slot_list[i]) { if (!ua->api) { - ua->info_msg(_(" %4i | %16s | %9s | %10s | %18s | %i |\n"), + ua->info_msg(_(" %4i | %16s | %9s | %20s | %18s | %i |\n"), i, "", "", "", "", 0); } else { ua->info_msg(_("%i||||||\n"), i); -- 2.39.5