mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
sesutil: Remove width modifier on encoded "Desc" field
Remove the width modifier to remove white space padding added to "description" field when running `sesutil --libxo:JP show`. Reviewed by: asomers Approved by: asomers (mentor) MFC after: 1w Sponsored by: ConnectWise Differential Revision: https://reviews.freebsd.org/D54536
This commit is contained in:
parent
cbc6f7e941
commit
bf98d6775d
1 changed files with 1 additions and 1 deletions
|
|
@ -650,7 +650,7 @@ show_device(int fd, int elm_idx, encioc_elm_status_t e_status, encioc_elm_desc_t
|
|||
xo_open_instance("elements");
|
||||
xo_emit("{e:type/device_slot}");
|
||||
xo_emit("{d:description/%-15s} ", e_desc.elm_desc_len > 0 ? e_desc.elm_desc_str : "-");
|
||||
xo_emit("{e:description/%-15s}", e_desc.elm_desc_len > 0 ? e_desc.elm_desc_str : "");
|
||||
xo_emit("{e:description/%s}", e_desc.elm_desc_len > 0 ? e_desc.elm_desc_str : "");
|
||||
xo_emit("{d:device_names/%-7s} ", e_devname.elm_names_len > 0 ? e_devname.elm_devnames : "-");
|
||||
xo_emit("{e:device_names/%s}", e_devname.elm_names_len > 0 ? e_devname.elm_devnames : "");
|
||||
xo_emit("{d:model/%-25s} ", model ? model : "-");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue