More useful error message on failing RMLVO -> KcCGST

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
master
Daniel Stone 2012-08-03 03:05:02 +02:00
parent 41d97df951
commit 53e2db6ba9
1 changed files with 5 additions and 2 deletions

View 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;
}