summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2009-06-02 12:38:14 +0000
committerguenther <guenther@openbsd.org>2009-06-02 12:38:14 +0000
commitca86325c3ed1be11afebc53da29a3d71f6334e45 (patch)
tree455e6e3b0d1c46a851b5b8620f16dcddb6e08669
parentblkno's are 64 bit so need %llu, found by Parfait (diff)
downloadwireguard-openbsd-ca86325c3ed1be11afebc53da29a3d71f6334e45.tar.xz
wireguard-openbsd-ca86325c3ed1be11afebc53da29a3d71f6334e45.zip
Drop an argument to DRM_ERROR() that was both unmatched and superfluous
ok oga@
-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;