summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-07-19 12:41:24 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-07-19 12:41:24 +1000
commit02a74cfd0ba5ac0190307a63189ac643644b7574 (patch)
tree4f6883a42820cc7b3925853fe389dc7cd61a5ad8
parentb2ef09f6c4034dec03898df7f8024fc58794b055 (diff)
Use xf86SetStrOption for Option Device
Let the device be printed in the logs Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/xf86HyperPen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xf86HyperPen.c b/src/xf86HyperPen.c
index 52a6e4f..320add5 100644
--- a/src/xf86HyperPen.c
+++ b/src/xf86HyperPen.c
@@ -827,7 +827,7 @@ xf86HypInit(InputDriverPtr drv,
}
/* Serial Device is mandatory */
- priv->hypDevice = xf86FindOptionValue(pInfo->options, "Device");
+ priv->hypDevice = xf86SetStrOption(pInfo->options, "Device", NULL);
if (!priv->hypDevice) {
xf86Msg (X_ERROR, "%s: No Device specified.\n", pInfo->name);