print all errors on stderr in all binaries

This commit is contained in:
Stefan Wahren
2013-04-26 08:18:17 +02:00
parent ea0c6c3455
commit f6601ca40f
8 changed files with 38 additions and 38 deletions

View File

@ -144,7 +144,7 @@ main(int argc, char **argv)
if (mbus_connect(handle) == -1)
{
printf("Failed to setup connection to M-bus gateway\n");
fprintf(stderr,"Failed to setup connection to M-bus gateway\n");
free(addr_mask);
return 1;
}