summaryrefslogtreecommitdiff
path: root/tests/auth.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2007-10-23 15:34:12 +0100
committerAlan Hourihane <alanh@tungstengraphics.com>2007-10-23 15:34:12 +0100
commitd5f2b4b411c5ca95d6f66a33d213ece387ac4fc5 (patch)
treec6f723b2c02e7a6e7cbcd4e7fe8f64b6c5b9e002 /tests/auth.c
parent198170ab97bbf2ca6362bb7100e9ed86d90aa51f (diff)
parenta294aa724a1e932fb6017383e08532bfcc914df0 (diff)
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101
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);