From: Jonathan Rajotte Julien Date: Wed, 23 Jul 2014 15:33:04 +0000 (-0400) Subject: Fix: Mi: use sub field of version struct for version string X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=782f3c61649febe396ca7102d3714243545e3b52;p=lttng-tools.git Fix: Mi: use sub field of version struct for version string --- diff --git a/src/common/mi-lttng.c b/src/common/mi-lttng.c index e13342e83..a636c71b2 100644 --- a/src/common/mi-lttng.c +++ b/src/common/mi-lttng.c @@ -489,7 +489,7 @@ int mi_lttng_version(struct mi_writer *writer, struct mi_lttng_version *version, /* Version string (contain info like rc etc.) */ ret = mi_lttng_writer_write_element_string(writer, - mi_lttng_element_version_str, VERSION); + mi_lttng_element_version_str, version->version); if (ret) { goto end; }