commit a3bc408ae49b2956d11fcf0d22d597cbd945b6fe
parent 17c35dd1bc37ed7db24af0ebb9ffca3ad697a2d7
Author: Tim Kourt <tim.a.kourt@linux.intel.com>
Date: Thu, 2 Aug 2018 18:01:51 -0700
client: truncate value string to the column length
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/dbus-proxy.c b/client/dbus-proxy.c
@@ -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,