From 02a74cfd0ba5ac0190307a63189ac643644b7574 Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue, 19 Jul 2011 12:41:24 +1000
Subject: Use xf86SetStrOption for Option Device

Let the device be printed in the logs

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

diff --git a/src/xf86HyperPen.c b/src/xf86HyperPen.c
index 52a6e4f..320add5 100644
--- src/xf86HyperPen.c
+++ src/xf86HyperPen.c
@@ -827,7 +827,7 @@ xf86HypInit(InputDriverPtr      drv,
     }
 
     /* Serial Device is mandatory */
-    priv->hypDevice = xf86FindOptionValue(pInfo->options, "Device");
+    priv->hypDevice = xf86SetStrOption(pInfo->options, "Device", NULL);
 
     if (!priv->hypDevice) {
         xf86Msg (X_ERROR, "%s: No Device specified.\n", pInfo->name);
-- 
cgit v0.10.2

