fix: Add one digit to RHEL major release version
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 9 Feb 2021 16:28:27 +0000 (11:28 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 10 Feb 2021 15:11:58 +0000 (10:11 -0500)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I5526088cf00e11c2571dac0875e402088cfa581f

lttng-kernel-version.h

index 45aab6ed5a253b867eeef4f0f432a2db0e181160..d23578357839777e402777bd3f186fc631e14862 100644 (file)
                LTTNG_DEBIAN_KERNEL_VERSION(a_high, b_high, c_high, d_high, e_high, f_high))
 
 #define LTTNG_RHEL_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) * 10000) + ((e) * 100) + (f))
 
 /* RHEL */
 
 #ifdef RHEL_API_VERSION
 #define LTTNG_RHEL_VERSION_CODE \
-       ((LTTNG_LINUX_VERSION_CODE * 10000000ULL) + RHEL_API_VERSION)
+       ((LTTNG_LINUX_VERSION_CODE * 100000000ULL) + RHEL_API_VERSION)
 #else
 #define LTTNG_RHEL_VERSION_CODE                0
 #endif
This page took 0.026189 seconds and 4 git commands to generate.