X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fxkbcomp%2Fxkbcomp-priv.h;h=50c07b56a4eb0912105ab384cfae0ddafd261182;hb=a83d745b62ea8ec89e939b00bb3754ad54280942;hp=5a7765f4330be753f2aa180d620ce689f31e14db;hpb=b900faf77b5d07805f10a1160cd1c6842cc46b11;p=platform%2Fupstream%2Flibxkbcommon.git diff --git a/src/xkbcomp/xkbcomp-priv.h b/src/xkbcomp/xkbcomp-priv.h index 5a7765f..50c07b5 100644 --- a/src/xkbcomp/xkbcomp-priv.h +++ b/src/xkbcomp/xkbcomp-priv.h @@ -82,7 +82,8 @@ static inline bool ReportNotArray(struct xkb_context *ctx, const char *type, const char *field, const char *name) { - log_err(ctx, + log_err_with_code(ctx, + XKB_ERROR_WRONG_FIELD_TYPE, "The %s %s field is not an array; " "Ignoring illegal assignment in %s\n", type, field, name); @@ -93,7 +94,8 @@ static inline bool ReportShouldBeArray(struct xkb_context *ctx, const char *type, const char *field, const char *name) { - log_err(ctx, + log_err_with_code(ctx, + XKB_ERROR_EXPECTED_ARRAY_ENTRY, "Missing subscript for %s %s; " "Ignoring illegal assignment in %s\n", type, field, name);