3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 17:59:25 +01:00

client: truncate value string to the column length

This commit is contained in:
Tim Kourt 2018-08-02 18:01:51 -07:00 committed by Denis Kenzior
parent 17c35dd1bc
commit a3bc408ae4

View File

@ -70,7 +70,7 @@ void proxy_properties_display(const struct proxy_interface *proxy,
if (!properties[i].tostr)
continue;
display("%s%*s %-*s%-*s\n", margin,
display("%s%*s %-*s%-.*s\n", margin,
8, properties[i].is_read_write ?
COLOR_BOLDGRAY " *" COLOR_OFF : "",
name_column_width, properties[i].name,