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:
parent
17c35dd1bc
commit
a3bc408ae4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user