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