From 4260384911ce6a8585b2729073336ee6dfb02006 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 23 Jul 2019 15:35:32 +0200 Subject: [PATCH] sd-daemon: don't mention strerror_safe() in examples in public headers It's an internal function we define, noone else should bother. --- src/systemd/sd-daemon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.