diff options
author | Tomas Carnecky <tom@dbservice.com> | 2009-02-04 00:07:02 +0100 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-02-04 09:53:03 +1000 |
commit | 7a3ddef3bc27982f3558183c74fc8e365cf2e7fd (patch) | |
tree | 5d2883b1a8e75f5b0567bba68965c67b49758098 /hw/xfree86/fbdevhw/fbdevhw.c | |
parent | e04d9ab999978995b06f4b702293b96f69b0e8c3 (diff) |
fbdevHWGetRec() doesn't return the private data
Signed-off-by: Tomas Carnecky <tom@dbservice.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'hw/xfree86/fbdevhw/fbdevhw.c')
-rw-r--r-- | hw/xfree86/fbdevhw/fbdevhw.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hw/xfree86/fbdevhw/fbdevhw.c b/hw/xfree86/fbdevhw/fbdevhw.c index 495d88b90..3eee070b8 100644 --- a/hw/xfree86/fbdevhw/fbdevhw.c +++ b/hw/xfree86/fbdevhw/fbdevhw.c @@ -155,7 +155,10 @@ fbdevHWFreeRec(ScrnInfoPtr pScrn) int fbdevHWGetFD(ScrnInfoPtr pScrn) { - fbdevHWPtr fPtr = fbdevHWGetRec(pScrn); + fbdevHWPtr fPtr; + + fbdevHWGetRec(pScrn); + fPtr = FBDEVHWPTR(pScrn); return fPtr->fd; } |