From 90198bcbea9288b452843f19c445a8c49a7ee9ba Mon Sep 17 00:00:00 2001
From: nabijaczleweli <nabijaczleweli@gmail.com>
Date: Mon, 3 Feb 2020 19:31:57 +0100
Subject: [PATCH 1595/1760] Fix generator name in hibernate-resume-generator's
 drop-in

Introduced in ff757c9d294153a26a9dd2d9817d1985656f3002
Reference: https://github.com/systemd/systemd/commit/90198bcbea9288b452843f19c445a8c49a7ee9ba
Conflict: NA
---
 src/hibernate-resume/hibernate-resume-generator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/hibernate-resume/hibernate-resume-generator.c b/src/hibernate-resume/hibernate-resume-generator.c
index 5e40933..95af8ef 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");
-- 
1.8.3.1

