add message on OOM kill, fix issue #70

This commit is contained in:
aiju 2011-07-18 10:12:45 +02:00
parent bf760b3250
commit 11bf57fb2c

View file

@ -1393,6 +1393,7 @@ procctl(Proc *p)
switch(p->procctl) {
case Proc_exitbig:
spllo();
pprint("Killed: Insufficient physical memory\n");
pexit("Killed: Insufficient physical memory", 1);
case Proc_exitme: