diff options
| author | Gao Feng <fgao@ikuai8.com> | 2016-09-20 05:31:04 +0300 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-09-23 10:30:43 +0300 |
| commit | b9d80f83bf8c3485ae53a4f3a715363d764bb0e4 (patch) | |
| tree | f7c71f7232436811f9f051dfd606b5ff71ac374e /lib/debugobjects.c | |
| parent | 7bdc66242de7f9cbe8dbb01757042dd18744d800 (diff) | |
| download | linux-b9d80f83bf8c3485ae53a4f3a715363d764bb0e4.tar.xz | |
netfilter: xt_helper: Use sizeof(variable) instead of literal number
It's better to use sizeof(info->name)-1 as index to force set the string
tail instead of literal number '29'.
Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
