Print maxavrocheck errors to stderr
The errors should be printed to stderr to distinct them from actual messages.
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user