From 02a74cfd0ba5ac0190307a63189ac643644b7574 Mon Sep 17 00:00:00 2001 From: Peter Hutterer 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 --- src/xf86HyperPen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xf86HyperPen.c b/src/xf86HyperPen.c index 52a6e4f..320add5 100644 --- a/src/xf86HyperPen.c +++ b/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 v1.2.3