[PATCH] shm: fix error in comment

Derek Foreman derekf at osg.samsung.com
Wed Sep 10 11:46:09 PDT 2014


---
 src/wayland-shm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/wayland-shm.c b/src/wayland-shm.c
index 3fce678..04ba4f2 100644
--- a/src/wayland-shm.c
+++ b/src/wayland-shm.c
@@ -372,7 +372,7 @@ wl_shm_buffer_get_stride(struct wl_shm_buffer *buffer)
  * Returns a pointer which can be used to read the data contained in
  * the given SHM buffer.
  *
- * As this buffer is memory-mapped, reading it from may generate
+ * As this buffer is memory-mapped, reading from it may generate
  * SIGBUS signals. This can happen if the client claims that the
  * buffer is larger than it is or if something truncates the
  * underlying file. To prevent this signal from causing the compositor
-- 
2.1.0



More information about the wayland-devel mailing list