Fix cut-n-pasteo: use the i386 version #define for i386 dumps, not the amd64 one.

This commit is contained in:
Ed Maste 2006-06-05 18:21:29 +00:00
parent 3640665627
commit f4eaa4b967

View file

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