Message ID | 1402498262-20521-6-git-send-email-lcapitulino@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/dump.c b/dump.c index e0a606f..7e0982b 100644 --- a/dump.c +++ b/dump.c @@ -1000,7 +1000,7 @@ out: static int write_dump_header(DumpState *s) { - if (s->dump_info.d_machine == EM_386) { + if (s->dump_info.d_class == ELFCLASS32) { return create_header32(s); } else { return create_header64(s);