-
- Downloads
Fix reports of errno for system calls.
This patch fixes two issues:
* It only makes sense to report errno if a system call has actually
failed.
* You can't call strerror() two times in printf(), since it might
use a single static buffer.
Signed-off-by:
Michael Tuexen <tuexen@fh-muenster.de>
Loading
Please register or sign in to comment