Fix build on NetBSD.

main
Eric Anholt 2003-02-22 18:40:12 +00:00
parent cfa778af9c
commit b487f30ea5
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);