diff mbox

[libdrm,7/7] xf86drm: Fix spelling mistakes

Message ID 1459709292-5153-7-git-send-email-eric@engestrom.ch (mailing list archive)
State New, archived
Headers show

Commit Message

Eric Engestrom April 3, 2016, 6:48 p.m. UTC
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
---
 xf86drm.c     | 2 +-
 xf86drmMode.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/xf86drm.c b/xf86drm.c
index 5f587d9..45aa5fc 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 7710061..f7b5948 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
  */