git: cryptdisks(8): Fix a wrong sizeof.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Jun 17 23:36:38 PDT 2012


commit 1c482147161e84edc1dbe4f1b41114b9ad16c552
Author: Sascha Wildner <saw at online.de>
Date:   Mon Jun 18 08:35:20 2012 +0200

    cryptdisks(8): Fix a wrong sizeof.
    
    Use the size passed to the alloc_safe_mem() here.
    
    Found-with: Coccinelle (http://coccinelle.lip6.fr/)

Summary of changes:
 sbin/cryptdisks/cryptdisks.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1c482147161e84edc1dbe4f1b41114b9ad16c552


-- 
DragonFly BSD source repository





More information about the Commits mailing list