summaryrefslogtreecommitdiff
path: root/bsd/drm_drv.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-02-22 18:40:12 +0000
committerEric Anholt <anholt@freebsd.org>2003-02-22 18:40:12 +0000
commitb487f30ea5c129eed1dd85f7ad79db3d2485b1f8 (patch)
tree6289f33a819b19dd060510e1ed2f24edbf54edf6 /bsd/drm_drv.h
parentcfa778af9c70faea8c13e5cb7f80029eee0d074e (diff)
Fix build on NetBSD.
Diffstat (limited to 'bsd/drm_drv.h')
-rw-r--r--bsd/drm_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd/drm_drv.h b/bsd/drm_drv.h
index 0e0dc1aa..994f1d64 100644
--- a/bsd/drm_drv.h
+++ b/bsd/drm_drv.h
@@ -991,7 +991,7 @@ int DRM(close)(dev_t kdev, int flags, int fmt, DRM_STRUCTPROC *p)
#if 0
atomic_inc( &dev->total_sleeps );
#endif
- retcode = tsleep(&dev->lock.lock_queue,
+ retcode = tsleep((void *)&dev->lock.lock_queue,
PZERO|PCATCH,
"drmlk2",
0);