From 3c8ebd94e48589711f44d23e85d713a1ed980f37 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 26 Jul 2007 11:26:12 -0700 Subject: [PATCH] debug print ioctl return value as -integer rather than fffffwhatever. --- linux-core/drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);