From: Lennart Poettering Date: Tue, 23 Jul 2019 13:35:32 +0000 (+0200) Subject: sd-daemon: don't mention strerror_safe() in examples in public headers X-Git-Tag: v243-rc1~69^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4260384911ce6a8585b2729073336ee6dfb02006;p=thirdparty%2Fsystemd.git sd-daemon: don't mention strerror_safe() in examples in public headers It's an internal function we define, noone else should bother. --- diff --git a/src/systemd/sd-daemon.h b/src/systemd/sd-daemon.h index 860961e2ba4..62b0f723c7a 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.