From 5d10fe0264764c114d2d03ae6faaf73971c42a6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20Roussin-B=C3=A9langer?= Date: Thu, 17 Dec 2020 17:08:07 -0500 Subject: [PATCH] shared: fix typos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime Roussin-BĂ©langer --- shared/os-compatibility.c | 2 +- shared/weston-egl-ext.h | 2 +- 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