mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150818
@ -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