Fix more wrong sizeof() usages, part 2/x
authorSascha Wildner <saw@online.de>
Sun, 17 Jun 2012 01:28:37 +0000 (03:28 +0200)
committerSascha Wildner <saw@online.de>
Sun, 17 Jun 2012 01:28:37 +0000 (03:28 +0200)
commitbc14747b46a79a3b0c41d28211feaf1ce100775c
treed3ba6608f0c86d54bf3c2ffe7591d91ba394b291
parentc90eedffe930abe64e37bd34aa990ab641fce203
Fix more wrong sizeof() usages, part 2/x

Take the size of the struct instead of the size of its address.

Found-with: Coccinelle (http://coccinelle.lip6.fr/)
sys/dev/disk/mpt/mpt_cam.c
sys/dev/raid/mps/mps_sas.c