Remove unsafe strncpy from esx_vmx.c
Remove unsafe strncpy from esx_vmx.c

While trying to remove uses of unsafe strncpy in the tree, I came
across a couple of usages in the ESX driver.  To my eyes, the snprintf
replacements do the same thing in less code, and are also safer.

Signed-off-by: Chris Lalancette <60b62644009db6b194cc0445b64e9b27bb26433a@redhat.com>
Tested-by: Mattias Bolte <c6e6488d214fff527698d2a865d2c6ede2d17cda@googlemail.com>

jeckersb/libvirt,kantai/libvirt-vfork,usc-isi/libvirt,olafhering/libvirt,dumbbell/libvirt,crobinso/libvirt,amery/libvirt-vserver,cbosdo/libvirt,soulxu/libvirt-xuhj,rbu/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,VenkatDatta/libvirt,elmarco/libvirt,trainstack/libvirt,VenkatDatta/libvirt,emaste/libvirt,fabianfreyer/libvirt,novel/fbsd-libvirt,kantai/libvirt-vfork,shugaoye/libvirt,kantai/libvirt-vfork,libvirt/libvirt,wiedi/libvirt,cbosdo/libvirt,rmarwaha/libvirt,libvirt/libvirt,warewolf/libvirt,emaste/libvirt,fabianfreyer/libvirt,datto/libvirt,datto/libvirt,eskultety/libvirt,foomango/libvirt,leilihh/libvirt,kantai/libvirt-vfork,agx/libvirt,shugaoye/libvirt,iam-TJ/libvirt,warewolf/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,warewolf/libvirt,leilihh/libvirt,jeckersb/libvirt,datto/libvirt,amery/libvirt-vserver,iam-TJ/libvirt,VenkatDatta/libvirt,wiedi/libvirt,crobinso/libvirt,elmarco/libvirt,amery/libvirt-vserver,novel/fbsd-libvirt,rbu/libvirt,novel/fbsd-libvirt,elmarco/libvirt,wiedi/libvirt,siboulet/libvirt-openvz,jeckersb/libvirt,rlaager/libvirt,andreabolognani/libvirt,foomango/libvirt,shugaoye/libvirt,zhlcindy/libvirt-1.1.4-maintain,novel/fbsd-libvirt,fabianfreyer/libvirt,zhlcindy/libvirt-1.1.4-maintain,dumbbell/libvirt,nertpinx/libvirt,jeckersb/libvirt,andreabolognani/libvirt,libvirt/libvirt,taget/libvirt,wiedi/libvirt,jfehlig/libvirt,nertpinx/libvirt,rlaager/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,zippy2/libvirt,rmarwaha/libvirt,zhlcindy/libvirt-1.1.4-maintain,siboulet/libvirt-openvz,trainstack/libvirt,trainstack/libvirt,olafhering/libvirt,usc-isi/libvirt,taget/libvirt,eskultety/libvirt,agx/libvirt,cbosdo/libvirt,jeckersb/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,foomango/libvirt,fabianfreyer/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,zippy2/libvirt,usc-isi/libvirt,rbu/libvirt,warewolf/libvirt,jfehlig/libvirt,usc-isi/libvirt,cbosdo/libvirt,novel/fbsd-libvirt,cbosdo/libvirt,eskultety/libvirt,kantai/libvirt-vfork,foomango/libvirt,rmarwaha/libvirt,rmarwaha/libvirt1,amery/libvirt-vserver,jardasgit/libvirt,olafhering/libvirt,andreabolognani/libvirt,bjzhang/libvirt,rlaager/libvirt,novel/fbsd-libvirt,libvirt/libvirt,bjzhang/libvirt,bjzhang/libvirt,eskultety/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,emaste/libvirt,jfehlig/libvirt,amery/libvirt-vserver,leilihh/libvirt,wiedi/libvirt,rlaager/libvirt,rmarwaha/libvirt,emaste/libvirt,jeckersb/libvirt,warewolf/libvirt,iam-TJ/libvirt,jfehlig/libvirt,rmarwaha/libvirt1,warewolf/libvirt,danwent/libvirt-ovs,emaste/libvirt,crobinso/libvirt,agx/libvirt,novel/fbsd-libvirt,danwent/libvirt-ovs,taget/libvirt,nertpinx/libvirt,soulxu/libvirt-xuhj,crobinso/libvirt,nertpinx/libvirt,shugaoye/libvirt,bjzhang/libvirt,datto/libvirt,taget/libvirt,taget/libvirt,jardasgit/libvirt,warewolf/libvirt,datto/libvirt,rbu/libvirt,wiedi/libvirt,elmarco/libvirt,shugaoye/libvirt,emaste/libvirt,dumbbell/libvirt,olafhering/libvirt,jardasgit/libvirt,bjzhang/libvirt,emaste/libvirt,iam-TJ/libvirt,jardasgit/libvirt,soulxu/libvirt-xuhj,andreabolognani/libvirt,trainstack/libvirt,siboulet/libvirt-openvz,siboulet/libvirt-openvz,wiedi/libvirt,leilihh/libvirt,iam-TJ/libvirt,rlaager/libvirt,soulxu/libvirt-xuhj,rmarwaha/libvirt1,zippy2/libvirt,VenkatDatta/libvirt,nertpinx/libvirt,leilihh/libvirt,zippy2/libvirt,danwent/libvirt-ovs,agx/libvirt,elmarco/libvirt,dumbbell/libvirt,foomango/libvirt,trainstack/libvirt,usc-isi/libvirt,rbu/libvirt,dumbbell/libvirt,VenkatDatta/libvirt,rmarwaha/libvirt1,jardasgit/libvirt,iam-TJ/libvirt,siboulet/libvirt-openvz,dumbbell/libvirt,zhlcindy/libvirt-1.1.4-maintain,iam-TJ/libvirt,rmarwaha/libvirt,soulxu/libvirt-xuhj,novel/fbsd-libvirt,zhlcindy/libvirt-1.1.4-maintain,danwent/libvirt-ovs,trainstack/libvirt,rmarwaha/libvirt,agx/libvirt,danwent/libvirt-ovs,rmarwaha/libvirt1,leilihh/libvirt,trainstack/libvirt,rmarwaha/libvirt1,jeckersb/libvirt,novel/fbsd-libvirt,eskultety/libvirt