[PATCH] shm: fix error in comment

Pekka Paalanen ppaalanen at gmail.com
Thu Sep 11 01:47:52 PDT 2014


On Wed, 10 Sep 2014 13:46:09 -0500
Derek Foreman <derekf at osg.samsung.com> wrote:

> ---
>  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

Trivial! Pushed.


Thanks,
pq


More information about the wayland-devel mailing list