diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-07-19 11:45:00 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-07-19 11:51:11 +1000 |
commit | 7a1245defa41517786e9752ea4e588c4f88f7047 (patch) | |
tree | 3387d9c4676566ab56c739b0d9516a131d559cca | |
parent | dc40c58c70b785c102a27652569c3de30fc44a9b (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.c | 2 |
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; |