summaryrefslogtreecommitdiff
path: root/src/systemd/sd-daemon.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-07-03 23:56:17 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-07-05 02:43:56 +0900
commit4bbccb02eaee35e20d3031e7ba4b3d08631ce934 (patch)
tree27fed6568b9faa5a2586c5929159b79a4002c294 /src/systemd/sd-daemon.h
parent7fa6223f67662e8d5ee26092240b4e1d091a69f5 (diff)
downloadsystemd-4bbccb02eaee35e20d3031e7ba4b3d08631ce934.tar.gz
tree-wide: introduce strerror_safe()
Diffstat (limited to 'src/systemd/sd-daemon.h')
-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 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.