diff options
author | Eric Anholt <eric@anholt.net> | 2017-10-31 12:22:31 -0700 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-12-13 10:06:07 -0500 |
commit | c39de5f7358634eb2fea66041e3a3465e8cf6e13 (patch) | |
tree | 2fa6dad5c0d3bca289df4fe3a88436516ad99820 /xkb | |
parent | 5a5b6d6cca469521daa6ac9087f3589b7489ab55 (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>
(cherry picked from commit 30f4d440ebc3517fdcc1d3c6a422a8fbf3af1f23)
Diffstat (limited to 'xkb')
-rw-r--r-- | xkb/ddxLoad.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xkb/ddxLoad.c b/xkb/ddxLoad.c index f71815aa8..bbe395245 100644 --- a/xkb/ddxLoad.c +++ b/xkb/ddxLoad.c @@ -191,8 +191,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); |