diff options
author | Adam Jackson <ajax@redhat.com> | 2008-10-03 14:40:18 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-10-03 17:51:18 -0400 |
commit | 9ada146a16bcf220b2dd2936fb3a0349a31e99d3 (patch) | |
tree | 8998907d30f9633d5a476002b14c8c26f708b91e | |
parent | a5d3fa90f3de763a5dcbb0ff4987562449819323 (diff) |
xf86RegisterResources: Always print any failed registrations.
-rw-r--r-- | hw/xfree86/common/xf86Bus.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/xfree86/common/xf86Bus.c b/hw/xfree86/common/xf86Bus.c index 364df1b4a..245bac04d 100644 --- a/hw/xfree86/common/xf86Bus.c +++ b/hw/xfree86/common/xf86Bus.c @@ -1522,11 +1522,11 @@ xf86RegisterResources(int entityIndex, resList list, unsigned long access) #ifdef DEBUG xf86MsgVerb(X_INFO, 3,"Resources after driver initialization\n"); xf86PrintResList(3, Acc); - if (res) xf86MsgVerb(X_INFO, 3, - "Failed Resources after driver initialization " - "for Entity: %i\n",entityIndex); - xf86PrintResList(3, res); #endif + if (res) { + xf86MsgVerb(X_INFO, 3, "Failed to register resources:\n"); + xf86PrintResList(3, res); + } return res; } |