From: Michael Stapelberg Date: Thu, 27 Jun 2019 07:38:30 +0000 (+0200) Subject: cryptsetup: comment: crypt_setup → crypt_format X-Git-Tag: v243-rc1~224^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12894%2Fhead;p=thirdparty%2Fsystemd.git cryptsetup: comment: crypt_setup → crypt_format --- diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c index af95b418162..a001ac75067 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, ¶ms); if (r < 0)