diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-12-05 16:09:04 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-12-07 18:38:41 +0100 |
commit | cf139e6025d499eb93ff51acb1218662a208ff96 (patch) | |
tree | 750449afd62caf1ae58e24c935046b1e3750d8b4 /src/cryptsetup | |
parent | a2ea3b2fc82bdd92cf782de61365113bb6ed9ca7 (diff) |
minor code beautifications
Diffstat (limited to 'src/cryptsetup')
-rw-r--r-- | src/cryptsetup/cryptsetup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c index 01e7ee9973..c7fec609df 100644 --- a/src/cryptsetup/cryptsetup.c +++ b/src/cryptsetup/cryptsetup.c @@ -651,7 +651,7 @@ int main(int argc, char *argv[]) { k = crypt_init(&cd, arg_header); } else k = crypt_init(&cd, argv[3]); - if (k) { + if (k != 0) { log_error_errno(k, "crypt_init() failed: %m"); goto finish; } |