CA-146660: print error message instead of errno

Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>