Displaying 1 result from an estimated 1 matches for "torture_open_connection_share".
2008 Sep 16
1
Why are some error messages printed to stdout?
...t makes use of Samba and I find that some of
the error messages are getting printed to stdout. This kinda creates a
problem with trying to figure out whether the message output is really an
error or not. Any reason why some of the error outputs are not sent out
over stderr?
As an example, in the torture_open_connection_share method in the
torture/util_smb.c file, the following line prints the error to stdout:
printf("Failed to open connection - %s\n", nt_errstr(status));
I noticed a few others that were doing the same thing. I was expecting to
see fprintf (stderr ...) for these kinds of messag...