From 7cdc19b29d93bf15cecfd6b69e269fab2501bca0 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 13 May 2008 16:39:30 -0700 Subject: When XKB fails to open rules file, log the file name, not the NULL file pointer --- xkb/ddxLoad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xkb/ddxLoad.c') 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; } -- cgit v1.2.3