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

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Jun 16 18:32:54 PDT 2012


commit 32af55bf9428479251a02a1034cc74ee5f6c9ec1
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/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


More information about the Commits mailing list

AltStyle によって変換されたページ (->オリジナル) /