summaryrefslogtreecommitdiff
path: root/xkb/ddxLoad.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2017-10-31 12:22:31 -0700
committerPeter Hutterer <peter.hutterer@who-t.net>2017-11-01 10:38:27 +1000
commit30f4d440ebc3517fdcc1d3c6a422a8fbf3af1f23 (patch)
tree492269f2165f7b904f2c5ec7dea43f78c4b9e543 /xkb/ddxLoad.c
parent14af8bee242fe40af0e91c61465d6720aaa60e97 (diff)
xkb: Print the xkbcomp path being executed when we fail to compile.
I don't know how many times I've had a broken server due to a bad directory to xkbcomp, and only finding the whole path has shown me where I went wrong. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'xkb/ddxLoad.c')
-rw-r--r--xkb/ddxLoad.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/xkb/ddxLoad.c b/xkb/ddxLoad.c
index a1a0fd3a2..a8b8368a6 100644
--- a/xkb/ddxLoad.c
+++ b/xkb/ddxLoad.c
@@ -179,8 +179,10 @@ RunXkbComp(xkbcomp_buffer_callback callback, void *userdata)
#endif
return xnfstrdup(keymap);
}
- else
- LogMessage(X_ERROR, "Error compiling keymap (%s)\n", keymap);
+ else {
+ LogMessage(X_ERROR, "Error compiling keymap (%s) executing '%s'\n",
+ keymap, buf);
+ }
#ifdef WIN32
/* remove the temporary file */
unlink(tmpname);