xf86drm: Fix spelling mistakes

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
main
Eric Engestrom 2016-04-03 19:48:12 +01:00 committed by Emil Velikov
parent 96f2907c85
commit ce97507cfc
2 changed files with 2 additions and 2 deletions

View File

@ -2942,7 +2942,7 @@ static int drmGetMaxNodeName(void)
MAX3(sizeof(DRM_PRIMARY_MINOR_NAME),
sizeof(DRM_CONTROL_MINOR_NAME),
sizeof(DRM_RENDER_MINOR_NAME)) +
3 /* lenght of the node number */;
3 /* length of the node number */;
}
static int drmParsePciDeviceInfo(const char *d_name,

View File

@ -34,7 +34,7 @@
*/
/*
* TODO the types we are after are defined in diffrent headers on diffrent
* TODO the types we are after are defined in different headers on different
* platforms find which headers to include to get uint32_t
*/