compose: add mapped locale to Compose-file-not-found error log Signed-off-by: Ran Benita <ran@unusedvar.com>
diff --git a/src/compose/table.c b/src/compose/table.c
index 1691555..8a8d11f 100644
--- a/src/compose/table.c
+++ b/src/compose/table.c
@@ -206,7 +206,8 @@ xkb_compose_table_new_from_locale(struct xkb_context *ctx,
}
free(path);
- log_err(ctx, "couldn't find a Compose file for locale \"%s\"\n", locale);
+ log_err(ctx, "couldn't find a Compose file for locale \"%s\" (mapped to \"%s\")\n",
+ locale, table->locale);
xkb_compose_table_unref(table);
return NULL;