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:
Maxim Konovalov 2005-10-02 11:31:45 +00:00
parent ec3ae2cced
commit 125450bbb7

View File

@ -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));