Message ID | 20200811063304.581395-1-leon@kernel.org |
---|---|
State | New |
Headers | show |
Series | [iproute2-rc] rdma: Fix owner name for the kernel resources | expand |
diff --git a/rdma/res.c b/rdma/res.c index c99a1fcb..6eca87e5 100644 --- a/rdma/res.c +++ b/rdma/res.c @@ -161,7 +161,7 @@ void print_comm(struct rd *rd, const char *str, struct nlattr **nla_line) snprintf(tmp, sizeof(tmp), "%s", str); else snprintf(tmp, sizeof(tmp), "[%s]", str); - print_color_string(PRINT_ANY, COLOR_NONE, "comm", "comm %s ", str); + print_color_string(PRINT_ANY, COLOR_NONE, "comm", "comm %s ", tmp); } void print_dev(struct rd *rd, uint32_t idx, const char *name)