]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
cryptsetup: comment: crypt_setup → crypt_format 12894/head
authorMichael Stapelberg <stapelberg@users.noreply.github.com>
Thu, 27 Jun 2019 07:38:30 +0000 (09:38 +0200)
committerGitHub <noreply@github.com>
Thu, 27 Jun 2019 07:38:30 +0000 (09:38 +0200)
src/cryptsetup/cryptsetup.c

index af95b418162f6c3a6c5f6fa44f14c00794ea99ad..a001ac75067a65b0a8232e25b0c8982330349577 100644 (file)
@@ -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)