quantize : fix confusing error message if ftype is invalid (#15071)

This commit is contained in:
Sigbjørn Skjæret 2025-08-04 18:11:02 +02:00 committed by GitHub
parent 587d0118f5
commit 2721257e3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -611,7 +611,7 @@ int main(int argc, char ** argv) {
return 1;
}
if (!try_parse_ftype(argv[arg_idx], params.ftype, ftype_str)) {
fprintf(stderr, "%s: invalid ftype '%s'\n", __func__, argv[3]);
fprintf(stderr, "%s: invalid ftype '%s'\n", __func__, argv[arg_idx]);
return 1;
}
if (ftype_str == "COPY") {