DragonFly BSD
DragonFly commits List (threaded) for 2012-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: DragonFly_RELEASE_3_0 Fix more wrong sizeof() usages, part 2/x


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 16 Jun 2012 18:32:54 -0700 (PDT)

commit 32af55bf9428479251a02a1034cc74ee5f6c9ec1
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/raid/mps/mps_sas.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/32af55bf9428479251a02a1034cc74ee5f6c9ec1


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]