From 686f8515bc36d7d01b3e52769e59fb1304aa111e Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Wed, 24 Nov 2021 13:18:39 -0800 Subject: [PATCH] Fix --quorum-count typo in mkfs error message The change from --quorum-count to --quorum-slot forgot to update a mention of the option in an error message in mkfs when it wasn't provided. Signed-off-by: Zach Brown --- utils/src/mkfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/src/mkfs.c b/utils/src/mkfs.c index b4d1f77e..d01528bf 100644 --- a/utils/src/mkfs.c +++ b/utils/src/mkfs.c @@ -517,7 +517,7 @@ static int parse_opt(int key, char *arg, struct argp_state *state) break; case ARGP_KEY_FINI: if (!args->nr_slots) - argp_error(state, "must specify at least one quorum slot with --quorum-count|-Q"); + argp_error(state, "must specify at least one quorum slot with --quorum-slot|-Q"); if (!args->meta_device) argp_error(state, "no metadata device argument given"); if (!args->data_device)