summaryrefslogtreecommitdiffstats
path: root/src/hibernate-resume/hibernate-resume-generator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hibernate-resume/hibernate-resume-generator.c')
-rw-r--r--src/hibernate-resume/hibernate-resume-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hibernate-resume/hibernate-resume-generator.c b/src/hibernate-resume/hibernate-resume-generator.c
index b8c4bafc05..25cefc2b24 100644
--- a/src/hibernate-resume/hibernate-resume-generator.c
+++ b/src/hibernate-resume/hibernate-resume-generator.c
@@ -58,7 +58,7 @@ static int process_resume(void) {
mkdir_parents_label(lnk, 0755);
if (symlink(SYSTEM_DATA_UNIT_PATH "/systemd-hibernate-resume@.service", lnk) < 0) {
- log_error("Failed to create symlink %s: %m", lnk);
+ log_error_errno(errno, "Failed to create symlink %s: %m", lnk);
return -errno;
}