]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r287927:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 1 Oct 2015 00:44:45 +0000 (00:44 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 1 Oct 2015 00:44:45 +0000 (00:44 +0000)
commitbce9fbcfebbc75a3ba46d4772942586fa612713f
tree001ad6371543a001216d0b6e24a447efc67925a6
parent9dfe0c422d1513f70a3a35a4c735d34ce560c516
MFC r287927:

Use strlcpy() instead of strncpy() because subsequent mkstemps expects
the string be nul-terminated.

Reviewed by: neel

git-svn-id: svn://svn.freebsd.org/base/stable/10@288434 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/bhyve/acpi.c