Skip to content

Improve error messages.

Peter Collingbourne requested to merge pcc/drm-hwcomposer:errno into master
  • Don't negate errno before passing to strerror, at least on bionic this results in "Unknown error -x" instead of the actual error.
  • Fix another error message to print strerror(errno) instead of the returned fd which will always be -1.
  • Fix another error message to call strerror for consistency.

Signed-off-by: Peter Collingbourne pcc@google.com

Merge request reports