if (i.scope) {
r = table_add_many(table,
TABLE_FIELD, "Unit",
+ TABLE_SET_MINIMUM_WIDTH, STRLEN("Display"), /* For alignment with show_unit_cgroup */
TABLE_STRING, i.scope);
if (r < 0)
return table_log_add_error(r);
if (i.slice) {
r = table_add_many(table,
TABLE_FIELD, "Unit",
+ TABLE_SET_MINIMUM_WIDTH, STRLEN("Sessions"), /* For alignment with show_unit_cgroup */
TABLE_STRING, i.slice);
if (r < 0)
return table_log_add_error(r);
if (arg_transport == BUS_TRANSPORT_LOCAL) {
r = table_add_many(table,
TABLE_FIELD, "Devices",
+ TABLE_SET_MINIMUM_WIDTH, STRLEN("Sessions"), /* For alignment with show_sysfs */
TABLE_EMPTY);
if (r < 0)
return table_log_add_error(r);