diff options
-rw-r--r-- | nlplug-findfs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nlplug-findfs.c b/nlplug-findfs.c index e89ab23..f23d0dd 100644 --- a/nlplug-findfs.c +++ b/nlplug-findfs.c @@ -586,6 +586,12 @@ static void *cryptsetup_thread(void *data) goto free_out; } + r = crypt_set_data_device(cd, data_devnode); + if (r < 0) { + warnx("crypt_set_data_device(%s)", data_devnode); + goto free_out; + } + while (passwd_tries > 0) { char pass[1024]; |