From 9621e7224a155caa5c8ebfeed92d1bef1923e33d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mar 16 2021 04:19:35 +0000 Subject: cryptsetup: add some commenting about EAGAIN generation (cherry picked from commit b7a0fead10959b03a1fa642a5ae7aca3a6a3dee9) Related: #1776408 patch_name: 0303-cryptsetup-add-some-commenting-about-EAGAIN-generati.patch present_in_specfile: true location_in_specfile: 303 squash_commits: true --- diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c index 0881aea..f2b2557 100644 --- a/src/cryptsetup/cryptsetup.c +++ b/src/cryptsetup/cryptsetup.c @@ -455,7 +455,7 @@ static int attach_tcrypt( r = read_one_line_file(key_file, &passphrase); if (r < 0) { log_error_errno(r, "Failed to read password file '%s': %m", key_file); - return -EAGAIN; + return -EAGAIN; /* log with the actual error, but return EAGAIN */ } params.passphrase = passphrase;