Skip to content

Commit

Permalink
Fix sizeof usage
Browse files Browse the repository at this point in the history
  • Loading branch information
phaubertin committed Jan 7, 2025
1 parent 19fccc3 commit 8f56f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/infrastructure/i686/cpuinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static void check_cpuid_is_supported(void) {
}

static void call_cpuid(x86_cpuid_leafs *leafs) {
memset(leafs, 0, sizeof(leafs));
memset(leafs, 0, sizeof(x86_cpuid_leafs));

const uint32_t ext_base = 0x80000000;

Expand Down

0 comments on commit 8f56f4d

Please sign in to comment.