[PATCH 3/3] xfree86: fix -quiet option behaviour

Tiago Vignatti tiago.vignatti at nokia.com
Fri Dec 11 07:04:14 PST 2009


Previously it was trying to set the same value as the default one. Sigh.

Signed-off-by: Tiago Vignatti <tiago.vignatti at nokia.com>
Acked-by: Rami Ylimaki <ext-rami.ylimaki at nokia.com>
---
 hw/xfree86/common/xf86Init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
index 502341c..3b25c89 100644
--- a/hw/xfree86/common/xf86Init.c
+++ b/hw/xfree86/common/xf86Init.c
@@ -1448,7 +1448,7 @@ ddxProcessArgument(int argc, char **argv, int i)
   }
   if (!strcmp(argv[i],"-quiet"))
   {
-    xf86SetVerbosity(0);
+    xf86SetVerbosity(-1);
     return 1;
   }
   if (!strcmp(argv[i],"-showconfig") || !strcmp(argv[i],"-version"))
-- 
1.6.0.4



More information about the xorg-devel mailing list