summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-07-23 15:35:32 +0200
committerLennart Poettering <lennart@poettering.net>2019-07-23 15:56:41 +0200
commit4260384911ce6a8585b2729073336ee6dfb02006 (patch)
treeaa0fa6b083662076302e05b21d3ae8241c3eb02d
parent29db4c3a0837c3bf902b1b29d799f15a495c51ac (diff)
downloadsystemd-4260384911ce6a8585b2729073336ee6dfb02006.tar.gz
sd-daemon: don't mention strerror_safe() in examples in public headers
It's an internal function we define, noone else should bother.
-rw-r--r--src/systemd/sd-daemon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemd/sd-daemon.h b/src/systemd/sd-daemon.h
index 860961e2ba..62b0f723c7 100644
--- 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.