]> git.ipfire.org Git - thirdparty/xtables-addons.git/commit
xt_quota2: silence a compiler warning
authorJan Engelhardt <jengelh@inai.de>
Wed, 24 Feb 2021 00:12:28 +0000 (01:12 +0100)
committerJan Engelhardt <jengelh@inai.de>
Wed, 24 Feb 2021 00:12:28 +0000 (01:12 +0100)
commit97808473f953b0ed5caa88356386fe7b71db8cea
tree59e80ee0098aef4a3495414b28bc7c0c955d4467
parent3aa4ca3eaff8933cb733ed571d04db59d6feafe1
xt_quota2: silence a compiler warning

libxt_quota2.c:73:3: warning: ‘strncpy’ specified bound 15 equals destination size [-Wstringop-truncation]
   73 |   strncpy(info->name, optarg, sizeof(info->name));
extensions/libxt_quota2.c