CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2024/12/25 19:46:38

Modified files:
        sys/kern       : subr_hibernate.c 

Log message:
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@

Reply via email to