summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-06-27 10:43:48 +0200
committerGitHub <noreply@github.com>2019-06-27 10:43:48 +0200
commita93c6ed3422667ba0acf65d05355f2cf0a3e5f1a (patch)
tree8f9333f5aadcd51302ea9a09f301289c3fb20a78
parentd238709c14c89884b2fdfc72c8228a4f30874df1 (diff)
parent307472654c5f980a895b0f9b1b98fb6e97e62ec3 (diff)
downloadsystemd-a93c6ed3422667ba0acf65d05355f2cf0a3e5f1a.tar.gz
Merge pull request #12894 from stapelberg/patch-1
cryptsetup: comment: crypt_setup → crypt_format
-rw-r--r--src/cryptsetup/cryptsetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c
index af95b41816..a001ac7506 100644
--- a/src/cryptsetup/cryptsetup.c
+++ b/src/cryptsetup/cryptsetup.c
@@ -534,7 +534,7 @@ static int attach_luks_or_plain(struct crypt_device *cd,
/* for CRYPT_PLAIN limit reads from keyfile to key length, and ignore keyfile-size */
arg_keyfile_size = arg_key_size;
- /* In contrast to what the name crypt_setup() might suggest this doesn't actually format
+ /* In contrast to what the name crypt_format() might suggest this doesn't actually format
* anything, it just configures encryption parameters when used for plain mode. */
r = crypt_format(cd, CRYPT_PLAIN, cipher, cipher_mode, NULL, NULL, arg_keyfile_size, &params);
if (r < 0)