Skip to content
Snippets Groups Projects
Commit b518928a authored by Moe Jette's avatar Moe Jette
Browse files
parent fdcf3b9b
No related branches found
No related tags found
No related merge requests found
......@@ -50,8 +50,7 @@ extern int set_oom_adj(int adj)
fd = open("/proc/self/oom_adj", O_WRONLY);
if (fd < 0) {
if (errno != ENOENT)
error("failed to open /proc/self/oom_adj: %m");
verbose("failed to open /proc/self/oom_adj: %m");
return -1;
}
if (snprintf(oom_adj, 16, "%d", adj) >= 16) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment