projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29db4c3
)
sd-daemon: don't mention strerror_safe() in examples in public headers
author
Lennart Poettering
<lennart@poettering.net>
Tue, 23 Jul 2019 13:35:32 +0000
(15:35 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 23 Jul 2019 13:56:41 +0000
(15:56 +0200)
It's an internal function we define, noone else should bother.
src/systemd/sd-daemon.h
patch
|
blob
|
history
diff --git
a/src/systemd/sd-daemon.h
b/src/systemd/sd-daemon.h
index
860961e
..
62b0f72
100644
(file)
--- a/
src/systemd/sd-daemon.h
+++ b/
src/systemd/sd-daemon.h
@@
-260,7
+260,7
@@
int sd_notify(int unset_environment, const char *state);
sd_notifyf(0, "STATUS=Failed to start up: %s\n"
"ERRNO=%i",
- strerror
_safe
(errno),
+ strerror(errno),
errno);
See sd_notifyf(3) for more information.