git: sys/vfs/autofs: Use ksnprintf() (sync with NetBSD)

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Fri Apr 20 08:28:05 PDT 2018


commit a5d18315b411560ede0833ac792e9c8655e592b0
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Fri Apr 20 08:01:30 2018 -0700

    sys/vfs/autofs: Use ksnprintf() (sync with NetBSD)
    
    FreeBSD and DragonFly had strcpy()+strcat().
    NetBSD changed it to snprintf().

Summary of changes:
 sys/vfs/autofs/autofs.c | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list