git: usr.sbin/fstyp: Fix compile warning on Linux distros

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Mon Aug 19 07:26:15 PDT 2019


commit abe1090629f190913043a6f255f48206e3aee0ff
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Mon Aug 19 23:00:09 2019 +0900

    usr.sbin/fstyp: Fix compile warning on Linux distros
    
    Ondisk inode's filename[] is of unsigned char.
    
    --
    hammer2.c: In function '__read_label':
    hammer2.c:123: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness

Summary of changes:
 usr.sbin/fstyp/hammer2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/abe1090629f190913043a6f255f48206e3aee0ff


-- 
DragonFly BSD source repository



More information about the Commits mailing list