summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-07-19 11:45:00 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-07-19 11:51:11 +1000
commit7a1245defa41517786e9752ea4e588c4f88f7047 (patch)
tree3387d9c4676566ab56c739b0d9516a131d559cca
parentdc40c58c70b785c102a27652569c3de30fc44a9b (diff)
Use xf86SetStrOption to print Option Device to the log
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-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;