summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xf86Fpit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xf86Fpit.c b/src/xf86Fpit.c
index 8c9c830..9ab3bb0 100644
--- a/src/xf86Fpit.c
+++ b/src/xf86Fpit.c
@@ -564,7 +564,7 @@ static int xf86FpitInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags)
return rc;
priv = pInfo->private;
- str = xf86FindOptionValue(pInfo->options, "Device");
+ str = xf86SetStrOption(pInfo->options, "Device", NULL);
if (!str) {
xf86Msg(X_ERROR, "%s: No Device specified in FPIT module config.\n", pInfo->name);
return BadValue;