summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r--sys/dev/pci/drm/drm_bufs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drm_bufs.c b/sys/dev/pci/drm/drm_bufs.c
index d5c2cad02ee..d56644794a6 100644
--- a/sys/dev/pci/drm/drm_bufs.c
+++ b/sys/dev/pci/drm/drm_bufs.c
@@ -479,7 +479,7 @@ drm_dma(struct drm_device *dev, void *data, struct drm_file *file_priv)
*/
if (d->request_count < 0 || d->request_count > dma->buf_count) {
DRM_ERROR("Process trying to get %d buffers (of %d max)\n",
- curproc->p_pid, d->request_count, dma->buf_count);
+ d->request_count, dma->buf_count);
return (EINVAL);
}
d->granted_count = 0;