]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
dprintf_dnode: strcpy -> strlcpy
authorJorgen Lundman <lundman@lundman.net>
Thu, 8 Jul 2021 03:13:40 +0000 (12:13 +0900)
committerTony Hutter <hutter2@llnl.gov>
Tue, 14 Sep 2021 19:37:38 +0000 (12:37 -0700)
commit04ebe29188032c9d2b0fd80b2571a82aa3013134
treeb0382d8a978867f6869bacd4dfae45e58bc892c1
parenta0b4da22978b0a062cc7a0c0127904ccc4abf5c2
dprintf_dnode: strcpy -> strlcpy

Missed a couple of strcpy() in earlier commit, this is only used with
--enable-debug.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Signed-off-by: Jorgen Lundman <lundman@lundman.net>
Closes #12311
include/sys/dbuf.h
include/sys/dnode.h