summaryrefslogtreecommitdiff
path: root/bsd/drm_fops.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsd/drm_fops.h')
-rw-r--r--bsd/drm_fops.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsd/drm_fops.h b/bsd/drm_fops.h
index 0ebf6ee4..b44254b8 100644
--- a/bsd/drm_fops.h
+++ b/bsd/drm_fops.h
@@ -84,9 +84,9 @@ int DRM(open_helper)(dev_t kdev, int flags, int fmt, DRM_STRUCTPROC *p,
priv->devXX = dev;
priv->ioctl_count = 0;
priv->authenticated = !DRM_SUSER(p);
- DRM_LOCK;
+ DRM_LOCK();
TAILQ_INSERT_TAIL(&dev->files, priv, link);
- DRM_UNLOCK;
+ DRM_UNLOCK();
}
#ifdef __FreeBSD__
kdev->si_drv1 = dev;