diff options
Diffstat (limited to 'src/expr/hash.c')
-rw-r--r-- | src/expr/hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr/hash.c b/src/expr/hash.c index 86b5ca6..10b4a72 100644 --- a/src/expr/hash.c +++ b/src/expr/hash.c @@ -184,11 +184,11 @@ nftnl_expr_hash_parse(struct nftnl_expr *e, struct nlattr *attr) } static int -nftnl_expr_hash_snprintf(char *buf, size_t size, +nftnl_expr_hash_snprintf(char *buf, size_t remain, uint32_t flags, const struct nftnl_expr *e) { struct nftnl_expr_hash *hash = nftnl_expr_data(e); - int remain = size, offset = 0, ret; + int offset = 0, ret; switch (hash->type) { case NFT_HASH_SYM: |