summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Engestrom <eric@engestrom.ch>2016-04-03 19:48:12 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-04-07 18:16:01 +0100
commitce97507cfcbdbdc520872417b5605f3b807794ff (patch)
treee804794bb8db0ae33889ce1b34580cd9b1db2bed
parent96f2907c85097a1e85a56e7e343893cf2b93f432 (diff)
xf86drm: Fix spelling mistakes
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
-rw-r--r--xf86drm.c2
-rw-r--r--xf86drmMode.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/xf86drm.c b/xf86drm.c
index 5f587d96bf3b..45aa5fc918d6 100644
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -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,
diff --git a/xf86drmMode.c b/xf86drmMode.c
index 7710061865ee..f7b59484153e 100644
--- a/xf86drmMode.c
+++ b/xf86drmMode.c
@@ -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
*/