diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-05-13 16:39:30 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-05-13 16:39:30 -0700 |
commit | 7cdc19b29d93bf15cecfd6b69e269fab2501bca0 (patch) | |
tree | edbe5aff72270cf6d76f16da843764085f06db93 /xkb | |
parent | ed65e8b4f02a6da7f1c5d85984a9ccf6a94d0181 (diff) |
When XKB fails to open rules file, log the file name, not the NULL file pointer
Diffstat (limited to 'xkb')
-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 1fb097987..842c146f8 100644 --- a/xkb/ddxLoad.c +++ b/xkb/ddxLoad.c @@ -401,7 +401,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; } |