Fix: Mi: use sub field of version struct for version string
authorJonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Wed, 23 Jul 2014 15:33:04 +0000 (11:33 -0400)
committerJonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Wed, 23 Jul 2014 15:33:04 +0000 (11:33 -0400)
src/common/mi-lttng.c

index e13342e835511deca29d53af8b1264f403961ef1..a636c71b20b4b0b30fc7b4fec40839de3fc00d0b 100644 (file)
@@ -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;
        }
This page took 0.034361 seconds and 4 git commands to generate.