summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);