typo in xenocara/lib/libdrm/xf86drm.c (inline)

David Coppa <[email protected]> Wed, 9 Dec 2009 11:33:27 +0100
Newsgroups gmane.os.openbsd.x11
Message-ID <20091209103327.GA14030@cl0311500093650>
Resending the diff inline...

cheers,
David


Index: xf86drm.c
===================================================================
RCS file: /cvs/xenocara/lib/libdrm/xf86drm.c,v
retrieving revision 1.2
diff -N -u -p xf86drm.c
--- xf86drm.c	26 Jan 2009 23:14:37 -0000	1.2
+++ xf86drm.c	7 Dec 2009 19:09:16 -0000
@@ -283,7 +283,7 @@ static int drmOpenDevice(long dev, int minor, int type
     }
 
 #ifndef X_PRIVSEP
-    fb = open(buf, O_RDWR, 0);
+    fd = open(buf, O_RDWR, 0);
 #else
     fd = priv_open_device(buf);
 #endif