summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-01-10 11:30:15 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-01-22 09:59:37 +1000
commit4cffb337d7dc43d17e11a28f70a8be11f21d74ff (patch)
treef8c6600ad3014c562916011575edc94eb64cd439
parentb7a2d8e7eb57fb11ec7753d555ab479475fe5230 (diff)
downloadxf86-input-wacom-4cffb337d7dc43d17e11a28f70a8be11f21d74ff.tar.gz
Fix a debug message not parsed by sigsafe printf code
The server doesn't interpret %g, use %f instead. tbh, right now it doesn't interpret %f either, but there's patches on the way for that. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Ping Cheng <pinglinux@gmail.com>
-rw-r--r--src/wcmCommon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wcmCommon.c b/src/wcmCommon.c
index e773999..02f3da1 100644
--- a/src/wcmCommon.c
+++ b/src/wcmCommon.c
@@ -113,7 +113,7 @@ void wcmMappingFactor(InputInfoPtr pInfo)
priv->factorX = size_x / priv->bottomX;
priv->factorY = size_y / priv->bottomY;
- DBG(2, priv, "X factor = %.3g, Y factor = %.3g\n",
+ DBG(2, priv, "X factor = %.3f, Y factor = %.3f\n",
priv->factorX, priv->factorY);
}