summaryrefslogtreecommitdiff
path: root/xkb/ddxLoad.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2008-06-25 15:06:49 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2008-06-25 15:06:49 -0700
commit7ce6dcef118139d0ccfc136b9a07f5bf0c078d70 (patch)
tree5cd39878d79563b701902db3d215a70c932fc12f /xkb/ddxLoad.c
parentcbc20d92de92aad5ca240310a9156ccf97c24a01 (diff)
Don't log null device name in XkbDDXLoadKeymapByNames
Diffstat (limited to 'xkb/ddxLoad.c')
-rw-r--r--xkb/ddxLoad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xkb/ddxLoad.c b/xkb/ddxLoad.c
index ade13c3af..d6b5f7589 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,