summaryrefslogtreecommitdiff
path: root/synaptics.c
diff options
context:
space:
mode:
authorPeter Osterlund <petero2@telia.com>2003-12-15 23:29:26 +0100
committerPeter Osterlund <petero2@telia.com>2006-04-09 04:01:31 +0200
commit4ca397a160371aaf9119f26800ea81994bb46a45 (patch)
treef40ea2a73bdbcb46c378b0c05725840abae89105 /synaptics.c
parent5b55777bf27124647422000f9d71f273f7864406 (diff)
Fixed bug in change 5b55777bf27124647422000f9d71f273f7864406.
Diffstat (limited to 'synaptics.c')
-rw-r--r--synaptics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/synaptics.c b/synaptics.c
index 3897c52..7ada1da 100644
--- a/synaptics.c
+++ b/synaptics.c
@@ -1407,7 +1407,7 @@ SynapticsParseRawPacket(LocalDevicePtr local, SynapticsPrivate *priv,
if (ret != Success)
return ret;
- memset(hw, 0, sizeof(hw));
+ memset(hw, 0, sizeof(*hw));
buf = priv->protoBuf;
if (newabs) { /* newer protos...*/