diff --git a/cpp/shared/protobuf_util.cpp b/cpp/shared/protobuf_util.cpp index 1cdff94b54..012a501109 100644 --- a/cpp/shared/protobuf_util.cpp +++ b/cpp/shared/protobuf_util.cpp @@ -14,7 +14,7 @@ #include #include #include - +#include using namespace std; using namespace piscsi_util; @@ -132,7 +132,7 @@ string protobuf_util::ListDevices(const vector& pb_devices) break; } - s << "| " << device.id() << " | " << device.unit() << " | " << PbDeviceType_Name(device.type()) << " | " + s << "| " << device.id() << " | " << setw(3) << device.unit() << " | " << PbDeviceType_Name(device.type()) << " | " << (filename.empty() ? "NO MEDIUM" : filename) << (!device.status().removed() && (device.properties().read_only() || device.status().protected_()) ? " (READ-ONLY)" : "") << '\n';