mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-02 02:37:59 +02:00
When XKB fails to open rules file, log the file name, not the NULL file pointer
(cherry picked from 7cdc19b29d commit)
This commit is contained in:
parent
8afd1d62f6
commit
ce1f6de2e8
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue