commit | 34dcf6a1902ac214149a2742250ff03aa5346f3e | [log] [tgz] |
---|---|---|
author | swkhack <swkhack@gmail.com> | Fri May 17 15:59:22 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri May 17 11:31:15 2019 -0700 |
tree | d0d0b9aedcb5e2cc02f627b2e1b909befd29a1e2 | |
parent | 510e2ceda031eed97a7a0f9aad65d271a58b460d [diff] |
net: caif: fix the value of size argument of snprintf Because the function snprintf write at most size bytes(including the null byte).So the value of the argument size need not to minus one. Signed-off-by: swkhack <swkhack@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>