diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-07-03 23:56:17 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-07-05 02:43:56 +0900 |
commit | 4bbccb02eaee35e20d3031e7ba4b3d08631ce934 (patch) | |
tree | 27fed6568b9faa5a2586c5929159b79a4002c294 /src/systemd/sd-daemon.h | |
parent | 7fa6223f67662e8d5ee26092240b4e1d091a69f5 (diff) | |
download | systemd-4bbccb02eaee35e20d3031e7ba4b3d08631ce934.tar.gz |
tree-wide: introduce strerror_safe()
Diffstat (limited to 'src/systemd/sd-daemon.h')
-rw-r--r-- | src/systemd/sd-daemon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemd/sd-daemon.h b/src/systemd/sd-daemon.h index 62b0f723c7..860961e2ba 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(errno), + strerror_safe(errno), errno); See sd_notifyf(3) for more information. |