Signed-off-by: Michael Tokarev <m...@tls.msk.ru> --- qemu-img.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/qemu-img.c b/qemu-img.c index 3ae07bfae0..ad7fa033b1 100644 --- a/qemu-img.c +++ b/qemu-img.c @@ -843,8 +843,8 @@ static int img_check(const img_cmd_t *ccmd, int argc, char **argv) } else if (!strcmp(optarg, "all")) { fix = BDRV_FIX_LEAKS | BDRV_FIX_ERRORS; } else { - error_exit(ccmd, "Unknown option value for -r " - "(expecting 'leaks' or 'all'): %s", optarg); + error_exit(ccmd, + "--repair expects 'leaks' or 'all' not '%s'", optarg); } break; case OPTION_OUTPUT: -- 2.39.2