git: libipsec: Using snprintf() to append to a buffer is not valid in C99.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Mar 17 00:40:22 PDT 2018


commit c5aa3e3af21c998e995694b49cad359dbb05a938
Author: Sascha Wildner <saw at online.de>
Date:   Sat Mar 17 08:40:02 2018 +0100

    libipsec: Using snprintf() to append to a buffer is not valid in C99.
    
    This silences a gcc80 -Wrestrict warning.
    
    Reported-by: zrj
    Taken-from:  FreeBSD (r216369)

Summary of changes:
 lib/libipsec/ipsec_dump_policy.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list