Skip to content

Commit

Permalink
kernel: fix incorrect assignment of kernel version between major and …
Browse files Browse the repository at this point in the history
…minor (#8797)

Signed-off-by: xiaobaowen <[email protected]>
Co-authored-by: xiaobaowen <[email protected]>
  • Loading branch information
thenamehasbeentake and xiaobaowen authored May 15, 2024
1 parent bf04226 commit d9c3d59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/flb_kernel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit d9c3d59

Please sign in to comment.