diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-05-13 16:39:30 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-05-13 18:11:20 -0700 |
commit | d0554a57489e272233bcb38cb453f2c0bc0b1729 (patch) | |
tree | c65bfa7eeaea8588eae8dee8a4c95a6fc71691e0 | |
parent | 3f8ba890762513edc7eddbbbd4bb26f908540c8d (diff) |
When XKB fails to open rules file, log the file name, not the NULL file pointer
(cherry picked from commit 7cdc19b29d93bf15cecfd6b69e269fab2501bca0)
-rw-r--r-- | xkb/ddxLoad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xkb/ddxLoad.c b/xkb/ddxLoad.c index ea9c3ff2b..eb03cde93 100644 --- a/xkb/ddxLoad.c +++ b/xkb/ddxLoad.c @@ -525,7 +525,7 @@ XkbRF_RulesPtr rules; file = fopen(buf, "r"); if (!file) { - LogMessage(X_ERROR, "XKB: Couldn't open rules file %s\n", file); + LogMessage(X_ERROR, "XKB: Couldn't open rules file %s\n", buf); return False; } |