From: Ran Benita Date: Mon, 10 Feb 2014 09:11:27 +0000 (+0200) Subject: rules: include the path in failed-to-map error message X-Git-Tag: xkbcommon-0.4.1~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=537564cb10e7a187e5702b1b315241033763657f;p=platform%2Fupstream%2Flibxkbcommon.git rules: include the path in failed-to-map error message Signed-off-by: Ran Benita --- diff --git a/src/xkbcomp/rules.c b/src/xkbcomp/rules.c index c0fd656..6418ac8 100644 --- a/src/xkbcomp/rules.c +++ b/src/xkbcomp/rules.c @@ -1004,7 +1004,8 @@ xkb_components_from_rules(struct xkb_context *ctx, ret = map_file(file, &string, &size); if (!ret) { - log_err(ctx, "Couldn't read rules file: %s\n", strerror(errno)); + log_err(ctx, "Couldn't read rules file \"%s\": %s\n", + path, strerror(errno)); goto err_file; }