diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2020-05-27 14:45:57 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2020-05-27 14:45:57 +0000 |
commit | a700ca9161d00539f6cc6d8a2dd189cc177f72ee (patch) | |
tree | be91e2d1ec5321f4310ad7a2eda4e45571cceb8e /sys/arch/m88k/include/frame.h | |
parent | 44c852a279821014ee3e17c02d67407d24b05157 (diff) |
Fix pmon_iostrategy()
If rsize is NULL, do not update the variable. Otherwise the bootloader
will crash when it invokes libsa's fchmod().
This lets the bootloader work again after the recent loadrandom()
change. The fix should also improve the chances of sysupgrade(8) on
loongson.
Note that pmon_iostrategy() does not allow writing. fchmod() will fail
but does not prevent boot.
Diffstat (limited to 'sys/arch/m88k/include/frame.h')
0 files changed, 0 insertions, 0 deletions