summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Roussin-Bélanger <maxime.roussin-belanger@sonatest.com>2020-12-17 17:08:07 -0500
committerMaxime Roussin-Bélanger <maxime.roussin-belanger@sonatest.com>2021-02-24 10:00:32 -0500
commit5d10fe0264764c114d2d03ae6faaf73971c42a6d (patch)
tree92b7e82c6bce6f17cbf1fc392ff14fe5951035ff
parent4e8ea1f9d544e456549c2f793d6678aa77d37b00 (diff)
downloadweston-5d10fe0264764c114d2d03ae6faaf73971c42a6d.tar.gz
shared: fix typos
Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
-rw-r--r--shared/os-compatibility.c2
-rw-r--r--shared/weston-egl-ext.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/shared/os-compatibility.c b/shared/os-compatibility.c
index f7610807..f687f92f 100644
--- a/shared/os-compatibility.c
+++ b/shared/os-compatibility.c
@@ -327,7 +327,7 @@ os_ro_anonymous_file_size(struct ro_anonymous_file *file)
* The returned file descriptor must not be shared between multiple clients.
* When \p mapmode is RO_ANONYMOUS_FILE_MAPMODE_PRIVATE the file descriptor is
* only guaranteed to be mmapable with \c MAP_PRIVATE, when \p mapmode is
- * RO_ANONYMOUS_FILE_MAPMODE_SHARED the file descriptor can be mmaped with
+ * RO_ANONYMOUS_FILE_MAPMODE_SHARED the file descriptor can be mmapped with
* either MAP_PRIVATE or MAP_SHARED.
* When you're done with the fd you must call \c os_ro_anonymous_file_put_fd
* instead of calling \c close.
diff --git a/shared/weston-egl-ext.h b/shared/weston-egl-ext.h
index 4a757c8b..ac308ba4 100644
--- a/shared/weston-egl-ext.h
+++ b/shared/weston-egl-ext.h
@@ -210,7 +210,7 @@ typedef EGLint (EGLAPIENTRYP PFNEGLDUPNATIVEFENCEFDANDROIDPROC) (EGLDisplay dpy,
#else /* ENABLE_EGL */
-/* EGL platform definition are keept to allow compositor-xx.c to build */
+/* EGL platform definition are kept to allow compositor-xx.c to build */
#define EGL_PLATFORM_GBM_KHR 0x31D7
#define EGL_PLATFORM_WAYLAND_KHR 0x31D8
#define EGL_PLATFORM_X11_KHR 0x31D5