From 7e61499e03c4dac7d47cac37418a1f05bb3c93b6 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 23 Jul 2017 10:24:53 +0200 Subject: [PATCH] Retweak previous stats slots patch --- bacula/src/dird/ua_label.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bacula/src/dird/ua_label.c b/bacula/src/dird/ua_label.c index 7e42e61e52..9715968f5e 100644 --- a/bacula/src/dird/ua_label.c +++ b/bacula/src/dird/ua_label.c @@ -1175,7 +1175,7 @@ void status_slots(UAContext *ua, STORE *store_r) int max_slots; int i=1; /* Slot | Volume | Status | MediaType | Pool */ - const char *slot_hformat="| %4i%c| %-30s | %-9s | %-10s | %-18s |\n"; + const char *slot_hformat="| %4i%c| %-20s | %-9s | %-15s | %-18s |\n"; if (ua->api) { status_content(ua, store_r); @@ -1209,9 +1209,9 @@ void status_slots(UAContext *ua, STORE *store_r) ua->warning_msg(_("No Volumes found, or no barcodes.\n")); goto bail_out; } - ua->send_msg(_("+------+--------------------------------+-----------+------------+--------------------+\n")); - ua->send_msg(_("| Slot | Volume Name | Status | Media Type | Pool |\n")); - ua->send_msg(_("+------+--------------------------------+-----------+------------+--------------------+\n")); + ua->send_msg(_("+------+----------------------+-----------+-----------------+--------------------+\n")); + ua->send_msg(_("| Slot | Volume Name | Status | Media Type | Pool |\n")); + ua->send_msg(_("+------+----------------------+-----------+-----------------+--------------------+\n")); /* Walk through the list getting the media records */ for (vl=vol_list; vl; vl=vl->next) { @@ -1244,7 +1244,7 @@ void status_slots(UAContext *ua, STORE *store_r) slot_list[i]=0; } } - ua->send_msg(_("+------+--------------------------------+-----------+------------+--------------------+\n")); + ua->send_msg(_("+------+----------------------+-----------+-----------------+--------------------+\n")); memset(&mr, 0, sizeof(MEDIA_DBR)); bstrncpy(mr.VolumeName, vl->VolName, sizeof(mr.VolumeName)); -- 2.39.5