From: Jonathan Rajotte Julien Date: Wed, 23 Jul 2014 18:12:14 +0000 (-0400) Subject: Mi: fix: use GIT_VERSION inplace of FULL_NAME X-Git-Tag: v2.6.0-rc1~101 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=50bba0f31cc69df963f3f652e53b9d6828882410;p=lttng-tools.git Mi: fix: use GIT_VERSION inplace of FULL_NAME --- diff --git a/src/bin/lttng/commands/version.c b/src/bin/lttng/commands/version.c index 8631cf948..13e5c994f 100644 --- a/src/bin/lttng/commands/version.c +++ b/src/bin/lttng/commands/version.c @@ -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); }