xserver: Branch 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Wed Jun 25 15:07:13 PDT 2008


 xkb/ddxLoad.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7ce6dcef118139d0ccfc136b9a07f5bf0c078d70
Author: Alan Coopersmith <alan.coopersmith at sun.com>
Date:   Wed Jun 25 15:06:49 2008 -0700

    Don't log null device name in XkbDDXLoadKeymapByNames

diff --git a/xkb/ddxLoad.c b/xkb/ddxLoad.c
index ade13c3..d6b5f75 100644
--- a/xkb/ddxLoad.c
+++ b/xkb/ddxLoad.c
@@ -351,7 +351,7 @@ unsigned	missing;
 	(names->compat==NULL)&&(names->symbols==NULL)&&
 	(names->geometry==NULL)) {
         LogMessage(X_ERROR, "XKB: No components provided for device %s\n",
-                   keybd->name);
+                   keybd->name ? keybd->name : "(unnamed keyboard)");
         return 0;
     }
     else if (!XkbDDXCompileKeymapByNames(xkb,names,want,need,


More information about the xorg-commit mailing list