[keel] Add detail to preload logging
This commit is contained in:
parent
ceb54b3f1b
commit
5b9929ab3d
@ -125,7 +125,9 @@ ox::Error preloadObj(
|
|||||||
OX_RETURN_ERROR(err);
|
OX_RETURN_ERROR(err);
|
||||||
keel::PreloadPtr const p{.preloadAddr = a};
|
keel::PreloadPtr const p{.preloadAddr = a};
|
||||||
OX_RETURN_ERROR(ox::writeMC(p).moveTo(buff));
|
OX_RETURN_ERROR(ox::writeMC(p).moveTo(buff));
|
||||||
oxOutf("preloaded {} as a {} @ {} to {}\n", path, obj.type()->typeName, a, a + size);
|
auto const&pbufSz = pl.buff().size();
|
||||||
|
oxOutf("preloaded {} as a {} @ {} to {} / {}, total size: {}\n",
|
||||||
|
path, obj.type()->typeName, a, a + size, pbufSz - 1, pbufSz - a);
|
||||||
} else {
|
} else {
|
||||||
// strip the Claw header (it is not needed after preloading) and write back out to dest fs
|
// strip the Claw header (it is not needed after preloading) and write back out to dest fs
|
||||||
OX_RETURN_ERROR(ox::writeMC(obj).moveTo(buff));
|
OX_RETURN_ERROR(ox::writeMC(obj).moveTo(buff));
|
||||||
|
Loading…
Reference in New Issue
Block a user