o Restore kerneldumpheader.architectureversion bytes swopping
mangled in rev. 1.72. PR: bin/86805 Submitted by: Gavin Atkinson MFC after: 3 days
This commit is contained in:
parent
ec3ae2cced
commit
125450bbb7
@ -107,7 +107,8 @@ printheader(FILE *f, const struct kerneldumpheader *h, const char *device,
|
||||
|
||||
fprintf(f, "Dump header from device %s\n", device);
|
||||
fprintf(f, " Architecture: %s\n", h->architecture);
|
||||
fprintf(f, " Architecture Version: %u\n", h->architectureversion);
|
||||
fprintf(f, " Architecture Version: %u\n",
|
||||
dtoh32(h->architectureversion));
|
||||
dumplen = dtoh64(h->dumplength);
|
||||
fprintf(f, " Dump Length: %lldB (%lld MB)\n", (long long)dumplen,
|
||||
(long long)(dumplen >> 20));
|
||||
|
Loading…
Reference in New Issue
Block a user