DragonFly commits List (threaded) for 2012-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: Fix more wrong sizeof() usages, part 2/x
commit bc14747b46a79a3b0c41d28211feaf1ce100775c
Author: Sascha Wildner <saw@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]