summaryrefslogtreecommitdiff
path: root/linux/drm_fops.h
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2003-03-25 11:36:43 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2003-03-25 11:36:43 +0000
commitb3eb34e0ea0ec7c550df5fd6b25efcf9e35c53cd (patch)
tree3ba6b39dc03658d840555d19c1ff56e2da8ce72c /linux/drm_fops.h
parentc14006ba9f0522875327998215150067d8ca6ea7 (diff)
linux merge for drm
Diffstat (limited to 'linux/drm_fops.h')
-rw-r--r--linux/drm_fops.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drm_fops.h b/linux/drm_fops.h
index 3d4bffa5..10d1aed1 100644
--- a/linux/drm_fops.h
+++ b/linux/drm_fops.h
@@ -95,8 +95,8 @@ int DRM(flush)(struct file *filp)
drm_file_t *priv = filp->private_data;
drm_device_t *dev = priv->dev;
- DRM_DEBUG("pid = %d, device = 0x%x, open_count = %d\n",
- current->pid, dev->device, dev->open_count);
+ DRM_DEBUG("pid = %d, device = 0x%lx, open_count = %d\n",
+ current->pid, (long)dev->device, dev->open_count);
return 0;
}
@@ -106,7 +106,7 @@ int DRM(fasync)(int fd, struct file *filp, int on)
drm_device_t *dev = priv->dev;
int retcode;
- DRM_DEBUG("fd = %d, device = 0x%x\n", fd, dev->device);
+ DRM_DEBUG("fd = %d, device = 0x%lx\n", fd, (long)dev->device);
retcode = fasync_helper(fd, filp, on, &dev->buf_async);
if (retcode < 0) return retcode;
return 0;