summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2006-03-05 16:43:10 +0000
committerMatthieu Herrb <matthieu.herrb@laas.fr>2006-03-05 16:43:10 +0000
commit448997ebcd2bab02be1059b07b91b63b0d05d268 (patch)
tree71b16a6ac4d23a8b4d0a4be7d39733c39e7afefe
parentd921173833cc207380eb08b6675393f5e8139d5f (diff)
Only output SetClientVersion message if verbosity > 1, like other
extensions do
-rw-r--r--ChangeLog3
-rw-r--r--hw/xfree86/dixmods/extmod/xf86misc.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 99079af94..fffc6408f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
2006-03-04 Matthieu Herrb <matthieu.herrb@laas.fr>
+ * hw/xfree86/dixmods/extmod/xf86misc.c
+ Only output SetClientVersion message if verbosity > 1, like other
+ extensions do
* configure.ac:
define SYS_LIBS to hold system dependant libraries that may needed.
* GL/glx/indirect_dispatch_swap.c:
diff --git a/hw/xfree86/dixmods/extmod/xf86misc.c b/hw/xfree86/dixmods/extmod/xf86misc.c
index a35db1f2f..3ce3c4266 100644
--- a/hw/xfree86/dixmods/extmod/xf86misc.c
+++ b/hw/xfree86/dixmods/extmod/xf86misc.c
@@ -504,7 +504,8 @@ ProcXF86MiscSetClientVersion(ClientPtr client)
return BadAlloc;
MPRIV(client) = pPriv;
}
- ErrorF("SetClientVersion: %i %i\n",stuff->major,stuff->minor);
+ if (xf86GetVerbosity() > 1)
+ ErrorF("SetClientVersion: %i %i\n",stuff->major,stuff->minor);
pPriv->major = stuff->major;
pPriv->minor = stuff->minor;