More useful error message on failing RMLVO -> KcCGST
authorDaniel Stone <daniel@fooishbar.org>
Fri, 3 Aug 2012 01:05:02 +0000 (03:05 +0200)
committerDaniel Stone <daniel@fooishbar.org>
Wed, 8 Aug 2012 14:23:30 +0000 (16:23 +0200)
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/xkbcomp/xkbcomp.c

index 441e9c4..bddeaac 100644 (file)
@@ -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;
     }