[PATCH xload] Fix one last warning about usage() format string.

Alan Coopersmith alan.coopersmith at oracle.com
Sat Aug 17 10:18:38 PDT 2013


On 08/17/13 09:27 AM, Matthieu Herrb wrote:
> Signed-off-by: Matthieu Herrb <matthieu.herrb at laas.fr>
> ---
>   xset.c | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git xset.c xset.c
> index f461d4b..98f552f 100644
> --- xset.c
> +++ xset.c
> @@ -325,8 +325,7 @@ main(int argc, char *argv[])
>   			    usage("low-mark must be greater than 0");
>   			}
>   			if (himark <= lowmark) {
> -			    usage("hi-mark must be greater than low-mark",
> -				  NULL);
> +			    usage("hi-mark must be greater than low-mark");
>   			}
>   			if (i >= argc) {
>   			    set_font_cache(dpy, himark, lowmark, balance);
>

Guess I missed this due to not building with FONTCACHE support.

Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list