--- perp-2.07/runtools/runchoom.c.orig	2013-01-11 12:10:32.000000000 -0300
+++ perp-2.07/runtools/runchoom.c	2018-05-01 15:24:18.883874277 -0300
@@ -1,5 +1,5 @@
 /* runchoom.c
-** run a program after writing "-17\n" to /proc/<pid>/oom_adj 
+** run a program after writing "-17\n" to /proc/<pid>/oom_score_adj
 ** (abatement for "dreaded linux oom killer")
 ** wcm, 2011.03.18 - 2011.03.22
 ** ===
@@ -32,7 +32,7 @@
 #endif
 
 #ifndef CHOOM_KEY_DEFAULT
-#define CHOOM_KEY_DEFAULT  "oom_adj"
+#define CHOOM_KEY_DEFAULT  "oom_score_adj"
 #endif
 
 /* see proc(5) manual (linux-specific): */
--- perp-2.07/runtools/man/runchoom.8.orig	2013-01-11 12:10:33.000000000 -0300
+++ perp-2.07/runtools/man/runchoom.8	2018-05-01 15:26:10.882876181 -0300
@@ -21,7 +21,7 @@
 .SH DESCRIPTION
 .B runchoom
 writes the string ``-17'' and a newline into the procfile
-.IR /proc/<pid>/oom_adj ,
+.IR /proc/<pid>/oom_score_adj ,
 where
 .I <pid>
 is the process id of
@@ -79,7 +79,7 @@
 Normally
 .B runchoom
 uses the compiled-in default value
-.I oom_adj
+.I oom_score_adj
 for the last element of the target procfile.
 The
 .B \-k
@@ -193,7 +193,7 @@
 .RE
 .SH NOTES
 On a system where the
-.I oom_adj
+.I oom_score_adj
 procfile is operative,
 the setting installed by
 .B runchoom
@@ -210,7 +210,7 @@
 .BR perpetrate (5)
 runscripts of any selected services to
 reset the
-.I oom_adj
+.I oom_score_adj
 parameter of a process to a default state:
 .PP
 .RS
