git: DragonFly_RELEASE_3_0 Fix two wrong sizeof() usages.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Jun 9 02:05:24 PDT 2012


commit 799dfdcbbc9987e013bf08a46da14d769d98ac86
Author: Sascha Wildner <saw at 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





More information about the Commits mailing list