Mi: fix: use GIT_VERSION inplace of FULL_NAME
authorJonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Wed, 23 Jul 2014 18:12:14 +0000 (14:12 -0400)
committerJonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Wed, 23 Jul 2014 18:12:14 +0000 (14:12 -0400)
src/bin/lttng/commands/version.c

index 8631cf9482cce8f853fa4dd8530a6c1f9bf600da..13e5c994f16ce8b496a5919c61a833544c1d629d 100644 (file)
@@ -65,7 +65,7 @@ static void create_version(struct mi_lttng_version *version)
        version->version_major = VERSION_MAJOR;
        version->version_minor = VERSION_MINOR;
        version->version_patchlevel = VERSION_PATCHLEVEL;
-       strncpy(version->version_commit, FULL_VERSION, NAME_MAX);
+       strncpy(version->version_commit, GIT_VERSION, NAME_MAX);
        strncpy(version->version_name, VERSION_NAME, NAME_MAX);
        strncpy(version->package_url, PACKAGE_URL, NAME_MAX);
 }
This page took 0.027178 seconds and 4 git commands to generate.