summaryrefslogtreecommitdiff
path: root/tests/auth.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-10-25 09:24:45 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-10-25 09:24:45 +0200
commit07706c9b79b88baff5f160351b482ccdf3315f0c (patch)
tree0679ad42a802894aae3d535efdaf229d985b54bc /tests/auth.c
parent3d4b32e91647f61712d54a46f0a173deff46e6b4 (diff)
parenta70fe82baf0ca2be98e02680cff489f90b0ea3de (diff)
Merge branch 'master' into drm-ttm-finalize
Diffstat (limited to 'tests/auth.c')
-rw-r--r--tests/auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auth.c b/tests/auth.c
index 4160d1de..9b6fca94 100644
--- a/tests/auth.c
+++ b/tests/auth.c
@@ -69,10 +69,10 @@ static void client()
int drmfd, ret;
/* XXX: Should make sure we open the same DRM as the master */
- drmfd = drm_open_any();
-
wait_event(0, SERVER_READY);
+ drmfd = drm_open_any();
+
/* Get a client magic number and pass it to the master for auth. */
auth.magic = 0; /* Quiet valgrind */
ret = ioctl(drmfd, DRM_IOCTL_GET_MAGIC, &auth);