diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-07-11 13:57:09 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-07-11 13:58:13 +1000 |
commit | 35840b2d01081486f698b3704707211ef683b9a6 (patch) | |
tree | 5e897a31a91db9cd30f5fc459e629570b9c03051 | |
parent | 2edeeb998a55c5f4d6e7ebda2bbd9d075c1f81c6 (diff) |
Use xf86SetStrOption to get the type printed to the logs
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/xf86Aiptek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xf86Aiptek.c b/src/xf86Aiptek.c index a68814f..d7911af 100644 --- a/src/xf86Aiptek.c +++ b/src/xf86Aiptek.c @@ -1829,7 +1829,7 @@ xf86AiptekInit(InputDriverPtr drv, xf86Msg(X_INFO, "xf86AiptekInit(): begins\n"); /* Type */ - s = xf86FindOptionValue(pInfo->options, "Type"); + s = xf86SetStrOption(pInfo->options, "Type", NULL); if (s && (xf86NameCmp(s, "stylus") == 0)) { rc = xf86AiptekAllocateStylus(pInfo); |