From 50bba0f31cc69df963f3f652e53b9d6828882410 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Julien Date: Wed, 23 Jul 2014 14:12:14 -0400 Subject: [PATCH] Mi: fix: use GIT_VERSION inplace of FULL_NAME --- src/bin/lttng/commands/version.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.34.1