summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-06-03 09:49:17 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-06-03 09:49:17 +1000
commit74ee351f849dd534a5accf8423fa6da047ae46b6 (patch)
treeb56be20f3f6e97449d88d538ebfd642155d33787
parent1c539b3b5bcdf340b836469554009b782176da90 (diff)
xserver: improve error code reporting
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/xserver.cpp2
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;
}