From 1e361311a3a85d254af37a759a114e9a7e88fd2c Mon Sep 17 00:00:00 2001 From: Philip Guenthe Date: Tue, 2 Jun 2009 12:38:15 +0000 Subject: Drop an argument to DRM_ERROR() that was both unmatched and superfluous ok oga@ --- sys/dev/pci/drm/drm_bufs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/pci') 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; -- cgit v1.2.3