[PATCH] compositor-wayland: Terminate weston_log error message

Derek Foreman derekf at osg.samsung.com
Tue Sep 29 06:15:26 PDT 2015


On 28/09/15 02:29 PM, Chris Michael wrote:
> Please find attached patch to fix issue with weston_log message not
> ending with a return
> 
> 
> 
> From 8de51c0e54d6a60a5c326ec3af1c0134044be5ce Mon Sep 17 00:00:00 2001
> From: Chris Michael <cp.michael at samsung.com>
> Date: Mon, 28 Sep 2015 15:24:18 -0400
> Subject: [PATCH] compositor-wayland: Terminate weston_log error message
> 
> Signed-off-by: Chris Michael <cp.michael at samsung.com>

Reviewed-by: Derek Foreman <derekf at osg.samsung.com>

> ---
>  src/compositor-wayland.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c
> index 900c331..7b11ae4 100644
> --- a/src/compositor-wayland.c
> +++ b/src/compositor-wayland.c
> @@ -1158,7 +1158,7 @@ wayland_output_create_for_parent_output(struct
> wayland_backend *b,
>          mode = container_of(poutput->mode_list.next,
>                      struct weston_mode, link);
>      } else {
> -        weston_log("No valid modes found.  Skipping output");
> +        weston_log("No valid modes found.  Skipping output\n");
>          return NULL;
>      }
> 



More information about the wayland-devel mailing list