Fix cut-n-pasteo: use the i386 version #define for i386 dumps, not the amd64 one.
This commit is contained in:
parent
c56d3e4138
commit
b9360f5c27
@ -275,7 +275,7 @@ minidumpsys(struct dumperinfo *di)
|
||||
mdhdr.paemode = 1;
|
||||
#endif
|
||||
|
||||
mkdumpheader(&kdh, KERNELDUMP_AMD64_VERSION, dumpsize, di->blocksize);
|
||||
mkdumpheader(&kdh, KERNELDUMP_I386_VERSION, dumpsize, di->blocksize);
|
||||
|
||||
printf("Physical memory: %ju MB\n", ptoa((uintmax_t)physmem) / 1048576);
|
||||
printf("Dumping %llu MB:", (long long)dumpsize >> 20);
|
||||
|
Loading…
Reference in New Issue
Block a user