diff options
Diffstat (limited to 'src/cryptsetup-generator.c')
-rw-r--r-- | src/cryptsetup-generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptsetup-generator.c b/src/cryptsetup-generator.c index b8db0d5e1c..a2b398dd15 100644 --- a/src/cryptsetup-generator.c +++ b/src/cryptsetup-generator.c @@ -163,7 +163,7 @@ static int create_disk( to = NULL; e = unit_name_escape(name); - if (asprintf(&to, "%s/dev-mapper-%s.device.wants/%s", arg_dest, e, n) < 0) { + if (asprintf(&to, "%s/dev-mapper-%s.device.requires/%s", arg_dest, e, n) < 0) { r = -ENOMEM; goto fail; } |