summaryrefslogtreecommitdiffstats
path: root/src/hibernate-resume
diff options
context:
space:
mode:
authornabijaczleweli <nabijaczleweli@gmail.com>2020-02-03 19:31:57 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-02-04 06:49:04 +0100
commit90198bcbea9288b452843f19c445a8c49a7ee9ba (patch)
tree2d025d0c4ea4578ebe1bed9474aca0c41224f04d /src/hibernate-resume
parentpresets: "disable" all passive targets by default (diff)
downloadsystemd-90198bcbea9288b452843f19c445a8c49a7ee9ba.tar.xz
systemd-90198bcbea9288b452843f19c445a8c49a7ee9ba.zip
Fix generator name in hibernate-resume-generator's drop-in
Introduced in ff757c9d294153a26a9dd2d9817d1985656f3002
Diffstat (limited to 'src/hibernate-resume')
-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 5e40933fdf..95af8efa7e 100644
--- a/src/hibernate-resume/hibernate-resume-generator.c
+++ b/src/hibernate-resume/hibernate-resume-generator.c
@@ -93,7 +93,7 @@ static int process_resume(void) {
return log_error_errno(r, "Failed to generate unit name: %m");
r = write_drop_in(arg_dest, device_unit, 40, "device-timeout",
- "# Automatically generated by systemd-cryptsetup-generator\n\n"
+ "# Automatically generated by systemd-hibernate-resume-generator\n\n"
"[Unit]\nJobTimeoutSec=0");
if (r < 0)
log_warning_errno(r, "Failed to write device timeout drop-in: %m");