summaryrefslogtreecommitdiff
path: root/src/activate/activate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/activate/activate.c')
-rw-r--r--src/activate/activate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/activate/activate.c b/src/activate/activate.c
index 70f86bb1e9..874b883617 100644
--- a/src/activate/activate.c
+++ b/src/activate/activate.c
@@ -66,8 +66,7 @@ static int open_sockets(int *epoll_fd, bool accept) {
n = sd_listen_fds(true);
if (n < 0) {
- log_error("Failed to read listening file descriptors from environment: %s",
- strerror(-n));
+ log_error_errno(n, "Failed to read listening file descriptors from environment: %m");
return n;
}
if (n > 0) {