Skip to content

Commit

Permalink
Fix printing of usage_error (#727)
Browse files Browse the repository at this point in the history
This was missed in commit dda3e77
  • Loading branch information
ktmf01 authored Jul 16, 2024
1 parent 3468459 commit ef35c28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/flac/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1201,12 +1201,12 @@ int usage_error(const char *message, ...)
va_start(args, message);

#ifndef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
(void) vfprintf(stderr, message, args);
(void) flac_vfprintf(stderr, message, args);
#endif

va_end(args);

printf("Type \"flac\" for a usage summary or \"flac --help\" for all options\n");
flac_printf("Type \"flac\" for a usage summary or \"flac --help\" for all options\n");
}

return 1;
Expand Down

0 comments on commit ef35c28

Please sign in to comment.