From fc4151f77ebf40d6e1ae02000a25f5cbd448733a Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Wed, 28 Jun 2023 14:10:03 +0200 Subject: [PATCH] Fix option name in error output --- src/cryptsetup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptsetup.c b/src/cryptsetup.c index 4421b9d5..3572da34 100644 --- a/src/cryptsetup.c +++ b/src/cryptsetup.c @@ -3065,7 +3065,7 @@ static const char *verify_resize(void) static const char *verify_reencrypt(void) { if (ARG_SET(OPT_REDUCE_DEVICE_SIZE_ID) && ARG_SET(OPT_DEVICE_SIZE_ID)) - return _("Options --reduce-device-size and --data-size cannot be combined."); + return _("Options --reduce-device-size and --device-size cannot be combined."); if (isLUKS1(luksType(device_type)) && ARG_SET(OPT_ACTIVE_NAME_ID)) return _("Option --active-name can be set only for LUKS2 device.");