From 7a1245defa41517786e9752ea4e588c4f88f7047 Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue, 19 Jul 2011 11:45:00 +1000
Subject: Use xf86SetStrOption to print Option Device to the log

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

diff --git a/src/xf86Fpit.c b/src/xf86Fpit.c
index 8c9c830..9ab3bb0 100644
--- src/xf86Fpit.c
+++ 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;
-- 
cgit v0.10.2

