summaryrefslogtreecommitdiff
path: root/src/xf86Elo.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-07-19 10:41:16 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-07-19 11:32:24 +1000
commitd743407c0e95194b5745a866b296de862a96515e (patch)
tree92246b953a16c2ea8bfdbe965c7c081cb507c2a8 /src/xf86Elo.c
parent38bcc4322a378affb5ca142ff39df81908e990eb (diff)
Use xf86SetStrOption for Option Device
Let the device be printed in the logs Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/xf86Elo.c')
-rw-r--r--src/xf86Elo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xf86Elo.c b/src/xf86Elo.c
index b63d351..cee7557 100644
--- a/src/xf86Elo.c
+++ b/src/xf86Elo.c
@@ -940,7 +940,7 @@ xf86EloInit(InputDriverPtr drv,
priv = pInfo->private;
- str = xf86FindOptionValue(pInfo->options, "Device");
+ str = xf86SetStrOption(pInfo->options, "Device", NULL);
if (!str) {
xf86Msg(X_ERROR, "%s: No Device specified in Elographics module config.\n",
pInfo->name);