net: tcp2: Fix format specifier
len is ssize_t variable type, %zd should be there. Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
This commit is contained in:
parent
a588538c3a
commit
c655624f8a
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ static bool tcp_options_check(void *buf, ssize_t len)
|
|||
continue;
|
||||
} else {
|
||||
if (len < 2) { /* Only END and NOP can have length 1 */
|
||||
NET_ERR("Illegal option %d with length %d",
|
||||
NET_ERR("Illegal option %d with length %zd",
|
||||
opt, len);
|
||||
result = false;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue