Use same function for all syscalls, so stdout/err only printed when something goes wrong
Merge pull request #9 from martinghunt/master

Use same function for all syscalls, so stdout/err only printed when some...