summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-07-26 11:26:12 -0700
committerEric Anholt <eric@anholt.net>2007-07-26 11:26:12 -0700
commit3c8ebd94e48589711f44d23e85d713a1ed980f37 (patch)
treea902dd282423f4d622c276e76db14ea9e316eb28 /linux-core
parentf9c27aa50b715a7d21858f1ce9e4785120bd0c36 (diff)
debug print ioctl return value as -integer rather than fffffwhatever.
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_drv.c b/linux-core/drm_drv.c
index 93dfcdb5..816b8a20 100644
--- a/linux-core/drm_drv.c
+++ b/linux-core/drm_drv.c
@@ -648,7 +648,7 @@ int drm_ioctl(struct inode *inode, struct file *filp,
err_i1:
atomic_dec(&dev->ioctl_count);
if (retcode)
- DRM_DEBUG("ret = %x\n", retcode);
+ DRM_DEBUG("ret = %d\n", retcode);
return retcode;
}
EXPORT_SYMBOL(drm_ioctl);