From d9c3d5919ff6d2a223839f0b587901926600919e Mon Sep 17 00:00:00 2001 From: xiaobaowen <1187873955@qq.com> Date: Wed, 15 May 2024 22:39:36 +0800 Subject: [PATCH] kernel: fix incorrect assignment of kernel version between major and minor (#8797) Signed-off-by: xiaobaowen Co-authored-by: xiaobaowen --- src/flb_kernel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flb_kernel.c b/src/flb_kernel.c index 5a6fe03c9c7..e80d25fdd3e 100644 --- a/src/flb_kernel.c +++ b/src/flb_kernel.c @@ -122,8 +122,8 @@ struct flb_kernel *flb_kernel_info() flb_errno(); return NULL; } - kernel->minor = a; - kernel->major = b; + kernel->major = a; + kernel->minor = b; kernel->patch = c; kernel->s_version.data = flb_malloc(16);