From 7dea64677b62418b14d34c41399cdb8bf8b817cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Wed, 19 Jul 2006 19:01:33 +0200 Subject: [PATCH] Some debug output when the getparam ioctl is called with an unknown parameter. --- shared-core/radeon_state.c | 1 + 1 file changed, 1 insertion(+) diff --git a/shared-core/radeon_state.c b/shared-core/radeon_state.c index 7e0cb6a8..2c169ac5 100644 --- a/shared-core/radeon_state.c +++ b/shared-core/radeon_state.c @@ -3035,6 +3035,7 @@ static int radeon_cp_getparam(DRM_IOCTL_ARGS) value = RADEON_CARD_PCI; break; default: + DRM_DEBUG( "Invalid parameter %d\n", param.param ); return DRM_ERR(EINVAL); }