diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2024-12-26 02:46:39 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2024-12-26 02:46:39 +0000 |
commit | 7a9953452a12b818f6e18e9c39709b03562f1796 (patch) | |
tree | a3c0fb1d90c938381da2f22f0df18bf7a9b8b34f /regress/lib | |
parent | fd69654bfdaba66e63f8709c1c95be4640248ea0 (diff) |
Make hibernate_write_rle() return -1 on i/o error, not the error number. The
return value was always treated as the number of memory pages to skip.
Tweak the invoking logic to abandon the hibernation if -1 is returned.
ok mglocker@ jmatthew@
Diffstat (limited to 'regress/lib')
0 files changed, 0 insertions, 0 deletions