diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-06-03 09:49:17 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-06-03 09:49:17 +1000 |
commit | 74ee351f849dd534a5accf8423fa6da047ae46b6 (patch) | |
tree | b56be20f3f6e97449d88d538ebfd642155d33787 | |
parent | 1c539b3b5bcdf340b836469554009b782176da90 (diff) |
xserver: improve error code reporting
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/xserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xserver.cpp b/src/xserver.cpp index a36ca7e..be52416 100644 --- a/src/xserver.cpp +++ b/src/xserver.cpp @@ -416,7 +416,7 @@ static int _x_error_handler(Display *dpy, XErrorEvent *err) case BadLength: error << "BadLength"; break; case BadImplementation: error << "BadImplementation"; break; default: - error << err->error_code; + error << "code: " << err->error_code; break; } |