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

This commit is contained in:
emaste 2006-06-05 18:21:29 +00:00
parent c56d3e4138
commit b9360f5c27

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