Use %z to print a size_t value.

This commit is contained in:
John Baldwin 2002-11-08 14:50:44 +00:00
parent 8704e2bb35
commit a2a6abd546
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106624

View File

@ -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);
}