git: Fix more wrong sizeof() usages, part 2/x
Sascha Wildner
swildner at crater.dragonflybsd.org
Sat Jun 16 18:32:49 PDT 2012
commit bc14747b46a79a3b0c41d28211feaf1ce100775c
Author: Sascha Wildner <saw at online.de>
Date: Sun Jun 17 03:28:37 2012 +0200
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/)
Summary of changes:
sys/dev/disk/mpt/mpt_cam.c | 2 +-
sys/dev/raid/mps/mps_sas.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bc14747b46a79a3b0c41d28211feaf1ce100775c
--
DragonFly BSD source repository
More information about the Commits
mailing list