diff options
author | anonymix007 <48598263+anonymix007@users.noreply.github.com> | 2024-11-06 21:04:18 +0100 |
---|---|---|
committer | anonymix007 <48598263+anonymix007@users.noreply.github.com> | 2024-11-07 20:52:29 +0100 |
commit | 24677c678705192f5148754490faaaa94ee2e833 (patch) | |
tree | 14760427e111e11ace6b05f78c3ddebba569c768 /src/boot/pe.c | |
parent | boot: Fix overflow check for FDT_PROP in devicetree_get_compatible (diff) | |
download | systemd-24677c678705192f5148754490faaaa94ee2e833.tar.xz systemd-24677c678705192f5148754490faaaa94ee2e833.zip |
boot: Fix .dtbauto section number for error reporting
Diffstat (limited to '')
-rw-r--r-- | src/boot/pe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/pe.c b/src/boot/pe.c index 00739a7c74..9af6ca0dd4 100644 --- a/src/boot/pe.c +++ b/src/boot/pe.c @@ -253,7 +253,7 @@ static void pe_locate_sections_internal( j->VirtualSize, device_table, device, - i)) + (PTR_TO_SIZE(j) - PTR_TO_SIZE(section_table)) / sizeof(*j))) continue; } |