On Fri, Jan 31, 2014 at 08:41:21PM +0100, Guillem Jover wrote:
> If only the mode or the owner are wrong, do not say both are wrong.
> Change the text to state that there's a problem and the current
> values, and let the user figure it out.
> 
> Signed-off-by: Guillem Jover <[email protected]>

Yeah, I think that sounds a little better, thanks.

Kristian

> ---
>  src/compositor.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/src/compositor.c b/src/compositor.c
> index 40e4b11..8466652 100644
> --- a/src/compositor.c
> +++ b/src/compositor.c
> @@ -3983,9 +3983,8 @@ static const char xdg_wrong_message[] =
>  
>  static const char xdg_wrong_mode_message[] =
>       "warning: XDG_RUNTIME_DIR \"%s\" is not configured\n"
> -     "correctly.  Unix access mode must be 0700 but is %o,\n"
> -     "and XDG_RUNTIME_DIR must be owned by the user, but is\n"
> -     "owned by UID %d.\n";
> +     "correctly.  Unix access mode must be 0700 (current mode is %o),\n"
> +     "and must be owned by the user (current owner is UID %d).\n";
>  
>  static const char xdg_detail_message[] =
>       "Refer to your distribution on how to get it, or\n"
> -- 
> 1.9.rc1.175.g0b1dcb5
> 
> _______________________________________________
> wayland-devel mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to