fix: Add one digit to SLES minor release version
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 9 Feb 2021 16:25:57 +0000 (11:25 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 9 Feb 2021 19:32:14 +0000 (14:32 -0500)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ia4b67b38377bdd997b754b92b09b96934940a013

include/lttng/kernel-version.h
scripts/abi-sle-version.sh

index 88f621e983f4fe8d5ffc502fe3f882c412f08d81..d3fce8e729c2a084e5f9169016b3cb3d6aa88c20 100644 (file)
 /* SUSE Linux enterprise */
 
 #define LTTNG_SLE_KERNEL_VERSION(a, b, c, d, e, f) \
-       (((LTTNG_KERNEL_VERSION(a, b, c)) * 10000000ULL) + ((d) * 10000) + ((e) * 100) + (f))
+       (((LTTNG_KERNEL_VERSION(a, b, c)) * 100000000ULL) + ((d) * 100000) + ((e) * 100) + (f))
 
 #ifdef SLE_API_VERSION
 #define LTTNG_SLE_VERSION_CODE \
-       ((LTTNG_LINUX_VERSION_CODE * 10000000ULL) + SLE_API_VERSION)
+       ((LTTNG_LINUX_VERSION_CODE * 100000000ULL) + SLE_API_VERSION)
 #else
 #define LTTNG_SLE_VERSION_CODE         0
 #endif
index 0d7254ac4e7a9e3e3a709fc3eadc06353dc16dd2..e079e0657e812c45980e801cdd9dc16702bced3f 100755 (executable)
@@ -38,6 +38,6 @@ if [ "x$SLE_RELEASE_PATCH" = "x" ]; then
 fi
 
 # Combine all update numbers into one
-SLE_API_VERSION="$((SLE_RELEASE_MAJOR * 10000 + SLE_RELEASE_MINOR * 100 + SLE_RELEASE_PATCH))"
+SLE_API_VERSION="$((SLE_RELEASE_MAJOR * 100000 + SLE_RELEASE_MINOR * 100 + SLE_RELEASE_PATCH))"
 
 echo ${SLE_API_VERSION}
This page took 0.025139 seconds and 5 git commands to generate.