From d743407c0e95194b5745a866b296de862a96515e Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 19 Jul 2011 10:41:16 +1000 Subject: Use xf86SetStrOption for Option Device Let the device be printed in the logs Signed-off-by: Peter Hutterer --- src/xf86Elo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xf86Elo.c b/src/xf86Elo.c index b63d351..cee7557 100644 --- a/src/xf86Elo.c +++ b/src/xf86Elo.c @@ -940,7 +940,7 @@ xf86EloInit(InputDriverPtr drv, priv = pInfo->private; - str = xf86FindOptionValue(pInfo->options, "Device"); + str = xf86SetStrOption(pInfo->options, "Device", NULL); if (!str) { xf86Msg(X_ERROR, "%s: No Device specified in Elographics module config.\n", pInfo->name); -- cgit v1.2.3