[PATCH] Warning fix in xf86Bus.c: too many brackets in initializer.

Eric Anholt eric at anholt.net
Wed Dec 3 13:29:10 PST 2008


---
 hw/xfree86/common/xf86Bus.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/xfree86/common/xf86Bus.c b/hw/xfree86/common/xf86Bus.c
index c825d23..eaa0618 100644
--- a/hw/xfree86/common/xf86Bus.c
+++ b/hw/xfree86/common/xf86Bus.c
@@ -66,7 +66,7 @@ xf86AccessRec AccessNULL = { noopEnableDisable, noopEnableDisable, NULL };
 
 _X_EXPORT xf86CurrentAccessRec xf86CurrentAccess = {NULL,NULL};
 
-BusRec primaryBus = { BUS_NONE, {{0}}};
+BusRec primaryBus = { BUS_NONE, {0}};
 
 static Bool xf86ResAccessEnter = FALSE;
 
-- 
1.5.6.5




More information about the xorg mailing list