From: Lennart Poettering Date: Mon, 21 Jan 2019 19:13:11 +0000 (+0100) Subject: cryptsetup: add some commenting about EAGAIN generation X-Git-Tag: v241-rc2~12^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b7a0fead10959b03a1fa642a5ae7aca3a6a3dee9;p=thirdparty%2Fsystemd.git cryptsetup: add some commenting about EAGAIN generation --- diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c index 7072a893255..bc4ff5f5a71 100644 --- a/src/cryptsetup/cryptsetup.c +++ b/src/cryptsetup/cryptsetup.c @@ -450,7 +450,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;