COLO-compare: Fix trace_event print bug
commite630b2bf7c8a7900d1e19ca006e6335df24f2928
authorZhang Chen <zhangchen.fnst@cn.fujitsu.com>
Thu, 9 Mar 2017 07:40:07 +0000 (9 15:40 +0800)
committerJason Wang <jasowang@redhat.com>
Tue, 14 Mar 2017 07:39:55 +0000 (14 15:39 +0800)
treee561ddbc2aff3bbf46e18a97316054c870ad617a
parent7ec7ae4b973d1471f6f39fc2b6481f69c2b39593
COLO-compare: Fix trace_event print bug

Because of inet_ntoa() return a statically allocated buffer,
subsequent calls will overwrite, So we fix this bug.

Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/colo-compare.c