Print errors to stdout so lf doesn't swallow them

This commit is contained in:
Nikita Ivanov 2022-06-08 08:43:27 +05:00
parent 17f917f141
commit 154a0bfd41
No known key found for this signature in database
GPG Key ID: 6E656AC5B97B5133

View File

@ -5,7 +5,7 @@
void print_error(const char *error_msg)
{
fprintf(stderr, "%s: %s\n", program, error_msg);
fprintf(stdout, "%s: %s\n", program, error_msg);
}
void print_errorf(const char *format, ...)