diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-09-26 15:23:37 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-09-26 15:23:37 +0930 |
commit | bfc89c035542a10594f5f0cbde1c7e28b7d024a7 (patch) | |
tree | f9a50cb5c32204cf645ba84ddd2b23107d845bf0 /xkb/xkbInit.c | |
parent | 8b508f5d6bd0d3995294d5ff300a856754442999 (diff) |
xkb: unify ErrorFs. Prefix all with [xkb].
Output for XkbUseMsg intentionally skipped.
Diffstat (limited to 'xkb/xkbInit.c')
-rw-r--r-- | xkb/xkbInit.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xkb/xkbInit.c b/xkb/xkbInit.c index c0867adf0..bcfd14990 100644 --- a/xkb/xkbInit.c +++ b/xkb/xkbInit.c @@ -179,12 +179,12 @@ char * pval; name= MakeAtom(_XKB_RF_NAMES_PROP_ATOM,strlen(_XKB_RF_NAMES_PROP_ATOM),1); if (name==None) { - ErrorF("Atom error: %s not created\n",_XKB_RF_NAMES_PROP_ATOM); + ErrorF("[xkb] Atom error: %s not created\n",_XKB_RF_NAMES_PROP_ATOM); return True; } pval= (char*) ALLOCATE_LOCAL(len); if (!pval) { - ErrorF("Allocation error: %s proprerty not created\n", + ErrorF("[xkb] Allocation error: %s proprerty not created\n", _XKB_RF_NAMES_PROP_ATOM); return True; } @@ -218,7 +218,7 @@ char * pval; } pval[out++]= '\0'; if (out!=len) { - ErrorF("Internal Error! bad size (%d!=%d) for _XKB_RULES_NAMES\n", + ErrorF("[xkb] Internal Error! bad size (%d!=%d) for _XKB_RULES_NAMES\n", out,len); } ChangeWindowProperty(WindowTable[0],name,XA_STRING,8,PropModeReplace, @@ -511,7 +511,7 @@ XkbEventCauseRec cause; /* the other here, but for now just complain */ /* can't just update the core range without */ /* reallocating the KeySymsRec (pain) */ - ErrorF("Internal Error!! XKB and core keymap have different range\n"); + ErrorF("[xkb] Internal Error!! XKB and core keymap have different range\n"); } if (XkbAllocClientMap(xkb,XkbAllClientInfoMask,0)!=Success) FatalError("Couldn't allocate client map in XkbInitDevice\n"); @@ -772,7 +772,7 @@ XkbSrvLedInfoPtr sli; if (sli && xkbi) XkbCheckIndicatorMaps(xkbi->device,sli,XkbAllIndicatorsMask); #ifdef DEBUG - else ErrorF("No indicator feedback in XkbFinishInit (shouldn't happen)!\n"); + else ErrorF("[xkb] No indicator feedback in XkbFinishInit (shouldn't happen)!\n"); #endif return softRepeat; } |