Use %z to print a size_t value.
This commit is contained in:
parent
8704e2bb35
commit
a2a6abd546
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106624
@ -667,7 +667,7 @@ AAA
|
||||
if (msg->header.arglen - sizeof(*ourmsg) <
|
||||
ourmsg->data_len) {
|
||||
printf("pppoe: init data has bad length,"
|
||||
" %d should be %d\n", ourmsg->data_len,
|
||||
" %d should be %zd\n", ourmsg->data_len,
|
||||
msg->header.arglen - sizeof (*ourmsg));
|
||||
LEAVE(EMSGSIZE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user