summaryrefslogtreecommitdiff
path: root/tests/mode/modetest.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2008-05-09 09:26:17 +0100
committerAlan Hourihane <alanh@tungstengraphics.com>2008-05-09 09:26:17 +0100
commit7317e774b5cddb7218c1416fa4d9ee98756e4890 (patch)
treec42cfac7f1e336eda1ce0ec72260350e86095c3d /tests/mode/modetest.c
parent7bcbc443f4f5161ab1e1a11cb6694e6d6269377c (diff)
Fix test applications for recent DRM changes
Diffstat (limited to 'tests/mode/modetest.c')
-rw-r--r--tests/mode/modetest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mode/modetest.c b/tests/mode/modetest.c
index a50b0cc5..1fab0406 100644
--- a/tests/mode/modetest.c
+++ b/tests/mode/modetest.c
@@ -291,7 +291,7 @@ int testFrameBufferAdd(int fd, drmModeResPtr res)
goto err;
printf("\tAdding FB\n");
- ret = drmModeAddFB(fd, 800, 600, 32, 8, 0, bo->handle, &fb);
+ ret = drmModeAddFB(fd, 800, 600, 32, 8, 0, bo.handle, &fb);
if (ret)
goto err_bo;