aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_pppoe.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-11-08 14:50:44 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-11-08 14:50:44 +0000
commita2a6abd5469c464b2e5c0cde15ab17f98b1c6d9e (patch)
treeb8d99393fbb17ec6638232cb617e190500af9f71 /sys/netgraph/ng_pppoe.c
parent8704e2bb35e9915f6e546ced9d4f8a4f84d82908 (diff)
downloadsrc-a2a6abd5469c464b2e5c0cde15ab17f98b1c6d9e.tar.gz
src-a2a6abd5469c464b2e5c0cde15ab17f98b1c6d9e.zip
Use %z to print a size_t value.
Notes
Notes: svn path=/head/; revision=106624
Diffstat (limited to 'sys/netgraph/ng_pppoe.c')
-rw-r--r--sys/netgraph/ng_pppoe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_pppoe.c b/sys/netgraph/ng_pppoe.c
index 3da4bf835cc1..886747e65695 100644
--- a/sys/netgraph/ng_pppoe.c
+++ b/sys/netgraph/ng_pppoe.c
@@ -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);
}