diff options
| author | fox <fox@NetBSD.org> | 2020-02-05 20:11:54 +0000 |
|---|---|---|
| committer | fox <fox@NetBSD.org> | 2020-02-05 20:11:54 +0000 |
| commit | ab68a55ee2f70a6069a6744bb9ab50507fd3fdc2 (patch) | |
| tree | 1072040387538114d4db73b45497f2d197f822f2 /hack/hack.bones.c | |
| parent | 0889d1a3707a23c5c00c085923944d126938fafd (diff) | |
| download | bsdgames-darwin-ab68a55ee2f70a6069a6744bb9ab50507fd3fdc2.tar.gz bsdgames-darwin-ab68a55ee2f70a6069a6744bb9ab50507fd3fdc2.zip | |
games/battlestar: Fix the -Werror=restrict warning.
Replace strcpy(1) with the safer snprintf(3) which guarantees NULL
termination of strings.
Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.
Reviewed by: kamil@
Diffstat (limited to 'hack/hack.bones.c')
0 files changed, 0 insertions, 0 deletions
