Some debug output when the getparam ioctl is called with an unknown parameter.

main
Michel Dänzer 2006-07-19 19:01:33 +02:00
parent b9243ce3d5
commit 7dea64677b
1 changed files with 1 additions and 0 deletions

View File

@ -3035,6 +3035,7 @@ static int radeon_cp_getparam(DRM_IOCTL_ARGS)
value = RADEON_CARD_PCI; value = RADEON_CARD_PCI;
break; break;
default: default:
DRM_DEBUG( "Invalid parameter %d\n", param.param );
return DRM_ERR(EINVAL); return DRM_ERR(EINVAL);
} }