summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2009-06-02 12:38:15 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2009-06-02 12:38:15 +0000
commit1e361311a3a85d254af37a759a114e9a7e88fd2c (patch)
tree7f3960786e2da09339c6e9f5ffb77a4230c40d9b /sys/dev/pci/drm
parent7ae3542fd7fd182bca11bfcf4c9a2622e42da203 (diff)
Drop an argument to DRM_ERROR() that was both unmatched and superfluous
ok oga@
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;