From 53e2db6ba98bcd085c84bab716acba316e383a60 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Fri, 3 Aug 2012 03:05:02 +0200 Subject: [PATCH] More useful error message on failing RMLVO -> KcCGST Signed-off-by: Daniel Stone --- src/xkbcomp/xkbcomp.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/xkbcomp/xkbcomp.c b/src/xkbcomp/xkbcomp.c index 441e9c4..bddeaac 100644 --- a/src/xkbcomp/xkbcomp.c +++ b/src/xkbcomp/xkbcomp.c @@ -40,8 +40,11 @@ keymap_file_from_names(struct xkb_context *ctx, kkctgs = xkb_components_from_rules(ctx, rmlvo); if (!kkctgs) { - log_err(ctx, "failed to generate XKB components from rules \"%s\"\n", - rmlvo->rules); + log_err(ctx, + "couldn't look up rules '%s', model '%s', layout '%s', " + "variant '%s', options '%s'\n", + rmlvo->rules, rmlvo->model, rmlvo->layout, rmlvo->variant, + rmlvo->options); return NULL; } -- 2.34.1