diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-07-22 09:40:14 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-07-22 09:41:24 +0100 |
commit | aa5351dbbe0a50080efee35a3d494b3a20b7c9f6 (patch) | |
tree | ea3f27ab2f319a98d3aa5f2aaede084e2dc39447 /src/sna/sna.h | |
parent | feba651db8dd61356fb6296b55d46168bd4d7011 (diff) |
sna: Ensure errno is set after failure before reporting a modeset failure
A few paths we report a sanity check failure which do not set errno, but
we then print out the errno as part of our message to the user. Set it
to a sane value in those cases.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
0 files changed, 0 insertions, 0 deletions