Print maxavrocheck errors to stderr

The errors should be printed to stderr to distinct them from actual
messages.
This commit is contained in:
Markus Mäkelä
2017-07-03 16:56:47 +03:00
parent 5a26d17fcf
commit e181241f45

View File

@ -158,7 +158,7 @@ int main(int argc, char** argv)
{ {
if (check_file(realpath(argv[i], pathbuf))) if (check_file(realpath(argv[i], pathbuf)))
{ {
printf("Failed to process file: %s\n", argv[i]); fprintf(stderr, "Failed to process file: %s\n", argv[i]);
rval = 1; rval = 1;
} }
} }