- Add U_xset_fix-warning-about-usage-format-string.patch: Fix one last warning about usage() format string. OBS-URL: https://build.opensuse.org/request/show/544004 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xset?expand=0&rev=7
25 lines
774 B
Diff
25 lines
774 B
Diff
From c3ce2c28deac121db0de50af63c902e5883fe140 Mon Sep 17 00:00:00 2001
|
|
From: Matthieu Herrb <matthieu.herrb@laas.fr>
|
|
Date: Sat, 17 Aug 2013 18:25:49 +0200
|
|
Subject: Fix one last warning about usage() format string.
|
|
|
|
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
|
|
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
|
|
diff --git a/xset.c b/xset.c
|
|
index f461d4b..98f552f 100644
|
|
--- a/xset.c
|
|
+++ b/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);
|
|
--
|
|
cgit v0.10.2
|