diff options
| -rw-r--r-- | sys/src/9/port/swap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/9/port/swap.c b/sys/src/9/port/swap.c index 9d492257e..81d3bf26b 100644 --- a/sys/src/9/port/swap.c +++ b/sys/src/9/port/swap.c @@ -164,8 +164,8 @@ pager(void*) if(swapimage.c == nil || swapalloc.free == 0){ Killbig: - killbig("out of memory"); - freebroken(); /* can use the memory */ + if(!freebroken()) + killbig("out of memory"); sched(); continue; } |
