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 two wrong sizeof() usages.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 9 Jun 2012 02:05:24 -0700 (PDT)

commit 799dfdcbbc9987e013bf08a46da14d769d98ac86
Author: Sascha Wildner <saw@online.de>
Date:   Sat Jun 9 11:04:18 2012 +0200

    Fix two wrong sizeof() usages.
    
    It should be taking the size of the variable the pointer points to,
    instead of the size of the pointer itself.

Summary of changes:
 sys/emulation/dragonfly12/dfbsd12_stat.c |    4 +---
 tools/tools/net80211/w00t/redir/buddy.c  |    2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/799dfdcbbc9987e013bf08a46da14d769d98ac86


-- 
DragonFly BSD source repository



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