diff options
| author | aiju <aiju@phicode.de> | 2011-07-18 10:12:45 +0200 |
|---|---|---|
| committer | aiju <aiju@phicode.de> | 2011-07-18 10:12:45 +0200 |
| commit | 11bf57fb2ceb999e314cfbe27a4e123bf846d2c8 (patch) | |
| tree | d5e4826b2185057c009a421cdf5b978d7f76fbc5 | |
| parent | bf760b325031f8ce68d85cc4f6649883325c19c8 (diff) | |
| download | plan9front-11bf57fb2ceb999e314cfbe27a4e123bf846d2c8.tar.xz | |
add message on OOM kill, fix issue #70
| -rw-r--r-- | sys/src/9/port/proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/9/port/proc.c b/sys/src/9/port/proc.c index 2064cf761..de08fe72d 100644 --- a/sys/src/9/port/proc.c +++ b/sys/src/9/port/proc.c @@ -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: |
