bootstrap: avoid a warning from OpenBSD linker
commitbdbdf5f00b93f8c1acdaeffdc0fc3f6f8bd785c6
authorblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Sat, 13 Nov 2010 10:56:45 +0000 (13 10:56 +0000)
committerblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Sat, 13 Nov 2010 10:56:45 +0000 (13 10:56 +0000)
treec2ab34e3713f79ee9d448d43a273a06aa932e8c1
parent2182ffd11ad5d896bbe298fa1ba2c2be949142a1
bootstrap: avoid a warning from OpenBSD linker

Avoid this link time warning by using strdup():
host/kernel/bootstrap.o(.text+0x854): In function `fopen_include':
../kernel/bootstrap.c:479: warning: strcpy() is almost always misused, please use strlcpy()

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
git-svn-id: svn://openbios.org/openbios/trunk/openbios-devel@953 f158a5a8-5612-0410-a976-696ce0be7e32
kernel/bootstrap.c