projects
/
suckless
/
slock.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dfe0ce
)
add hint for suid to oom error message
author
Markus Teich
<markus.teich@stusta.mhn.de>
Fri, 29 Jan 2016 21:11:18 +0000
(22:11 +0100)
committer
Markus Teich
<markus.teich@stusta.mhn.de>
Fri, 29 Jan 2016 21:11:18 +0000
(22:11 +0100)
slock.c
patch
|
blob
|
history
diff --git
a/slock.c
b/slock.c
index df2d3c6beb2fa2af394bab7202aa0bc5493436b7..fa7ec8428afb91be37198d7c2b035539a6719534 100644
(file)
--- a/
slock.c
+++ b/
slock.c
@@
-81,7
+81,7
@@
dontkillme(void)
die("buffer too small\n");
if (fd < 0 || write(fd, value, length) != length || close(fd) != 0)
- die("cannot disable the out-of-memory killer for this process\n");
+ die("cannot disable the out-of-memory killer for this process
(make sure to suid or sgid slock)
\n");
}
#endif