Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ef7fe7c authored by Yuanhan Liu's avatar Yuanhan Liu Committed by Dave Airlie
Browse files

drm: use format %d to print error code



It is more readable by printing "ret = -1" than "ret = 0xffffffff"

Signed-off-by: default avatarYuanhan Liu <yuanhan.liu@linux.intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent b375de0b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -486,7 +486,7 @@ long drm_ioctl(struct file *filp,
		kfree(kdata);
	atomic_dec(&dev->ioctl_count);
	if (retcode)
		DRM_DEBUG("ret = %x\n", retcode);
		DRM_DEBUG("ret = %d\n", retcode);
	return retcode;
}