diff options
author | Christian Hesse <mail@eworm.de> | 2018-04-01 22:48:19 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2018-04-01 22:48:19 +0200 |
commit | 2c1c626ca971741ffca2ed22d77545f6befe0632 (patch) | |
tree | 5bc350f30f99ffe295a0755a38f6c2c689897915 /dracut/parse-mod.sh | |
parent | 4a74a1f483533de6a2ebd5c65d888d1be3995ac3 (diff) | |
download | mkinitcpio-ykfde-2c1c626ca971741ffca2ed22d77545f6befe0632.tar.gz mkinitcpio-ykfde-2c1c626ca971741ffca2ed22d77545f6befe0632.tar.zst |
fix compiler warning/error with GCC 8.x
GCC 8.x reports:
worker.c:66:2: error: 'strncpy' specified bound 108 equals destination
size [-Werror=stringop-truncation]
Replace strncpy() with memcpy(), fixes #25.
Diffstat (limited to 'dracut/parse-mod.sh')
0 files changed, 0 insertions, 0 deletions