summaryrefslogtreecommitdiff
path: root/src/xf86Elo.c
diff options
context:
space:
mode:
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);