On 09/18/2014 11:16 PM, Arjun Shankar wrote:
> + printf ("FAIL: " fmt ": %s\n", __VA_ARGS__, strerror (errno)); \
Use “%m” because it is thread-safe.
Alternatively, you could just use dup2 to alias the file descriptors. I
wonder why we don't do this in general.
--
Florian Weimer / Red Hat Product Security