[Spice-devel] [PATCH] x11-randr: Fix typo in error message

Victor Toso victortoso at redhat.com
Fri Nov 16 08:42:25 UTC 2018


Hi,

On Thu, Nov 15, 2018 at 10:04:49PM +0000, Frediano Ziglio wrote:
> The function name is XRRGetScreenSizeRange not RRGetScreenSizeRange.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  src/vdagent/x11-randr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/vdagent/x11-randr.c b/src/vdagent/x11-randr.c
> index c5fba51..be6a43a 100644
> --- a/src/vdagent/x11-randr.c
> +++ b/src/vdagent/x11-randr.c
> @@ -120,7 +120,7 @@ static void update_randr_res(struct vdagent_x11 *x11, int poll)
>                                &x11->randr.min_height,
>                                &x11->randr.max_width,
>                                &x11->randr.max_height) != 1) {
> -        syslog(LOG_ERR, "update_randr_res: RRGetScreenSizeRange failed");
> +        syslog(LOG_ERR, "update_randr_res: XRRGetScreenSizeRange failed");

That's correct. Out of curiosity, have you seen this error
message in the logs?

Acked-by: Victor Toso <victortoso at redhat.com>

>      }
>  }
>  
> -- 
> 2.17.2
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20181116/d7fae0f1/attachment.sig>


More information about the Spice-devel mailing list