]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use strdup instead of malloc + strlcpy
authorngie <ngie@FreeBSD.org>
Sun, 15 May 2016 00:25:36 +0000 (00:25 +0000)
committerngie <ngie@FreeBSD.org>
Sun, 15 May 2016 00:25:36 +0000 (00:25 +0000)
commitd29efb63dcc4bc6f56b6e10e085ca0e9c17f21b9
tree0264de5c800cd953200a1a80c6b9c88f66e5986d
parent904e19053b4577f27f3dd6a5d4a6623c9a49a960
Use strdup instead of malloc + strlcpy

Fix error messages on failure for calloc/strdup

MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmpimport.c