git: Fix two wrong sizeof() usages.

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


commit 819bed8cb47c68d0e212fd5d0e34c0ff5d35503c
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/819bed8cb47c68d0e212fd5d0e34c0ff5d35503c


-- 
DragonFly BSD source repository





More information about the Commits mailing list