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) {
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 {
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);
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 {
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);
}
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);