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

git: Fix two wrong sizeof() usages.


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

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


-- 
DragonFly BSD source repository



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