Message ID | E1b9xrd-0003rh-Ti@e0050434b2927.dyn.armlinux.org.uk (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/kdump/kdump.c b/kdump/kdump.c index 99a1789..1f5b984 100644 --- a/kdump/kdump.c +++ b/kdump/kdump.c @@ -300,7 +300,7 @@ int main(int argc, char **argv) for(i = 0; i < ehdr->e_phnum; i++) { unsigned long long offset, size; size_t wsize; - if (phdr[i].p_type != PT_NOTE) { + if (phdr[i].p_type == PT_NOTE) { continue; } offset = phdr[i].p_offset;