Argh. Fix another >2GB savecore problem.

Reported by:   mki@mozone.net
This commit is contained in:
peter 2001-10-05 03:06:35 +00:00
parent 0571ee49a7
commit cd552f11fb

View File

@ -604,7 +604,7 @@ get_dumpsize()
/* Read the dump size. */
DumpRead(dumpfd, &kdumpsize, sizeof(kdumpsize),
(off_t)(dumplo + ok(dump_nl[X_DUMPSIZE].n_value)), L_SET);
dumpsize = kdumpsize * getpagesize();
dumpsize = (off_t)kdumpsize * getpagesize();
}
/*