Make use of strerror(errno) and format all errors equally: function ['parameters']: error message
This brings us a lot more tidiness.