aboutsummaryrefslogtreecommitdiff
path: root/src/xz
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/xz/message.c2
-rw-r--r--src/xzdec/xzdec.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/xz/message.c b/src/xz/message.c
index 33eb0b3b..fd519c8f 100644
--- a/src/xz/message.c
+++ b/src/xz/message.c
@@ -892,7 +892,7 @@ message_version(void)
{
// It is possible that liblzma version is different than the command
// line tool version, so print both.
- printf("xz " PACKAGE_VERSION "\n");
+ printf("xz " LZMA_VERSION_STRING "\n");
printf("liblzma %s\n", lzma_version_string());
my_exit(E_SUCCESS);
}
diff --git a/src/xzdec/xzdec.c b/src/xzdec/xzdec.c
index 44543f4d..57e98776 100644
--- a/src/xzdec/xzdec.c
+++ b/src/xzdec/xzdec.c
@@ -101,7 +101,7 @@ help(void)
static void lzma_attribute((noreturn))
version(void)
{
- printf(TOOL_FORMAT "dec " PACKAGE_VERSION "\n"
+ printf(TOOL_FORMAT "dec " LZMA_VERSION_STRING "\n"
"liblzma %s\n", lzma_version_string());
my_exit();