summaryrefslogtreecommitdiffstats
path: root/libexec/bootpd
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/bootpd')
-rw-r--r--libexec/bootpd/tools/bootptest/print-bootp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/bootpd/tools/bootptest/print-bootp.c b/libexec/bootpd/tools/bootptest/print-bootp.c
index 9ea450e..b3ddbba 100644
--- a/libexec/bootpd/tools/bootptest/print-bootp.c
+++ b/libexec/bootpd/tools/bootptest/print-bootp.c
@@ -310,7 +310,7 @@ rfc1048_print(bp, length)
len = *bp++;
if (bp + len > ep) {
/* truncated option */
- printf(" |(%d>%d)", len, ep - bp);
+ printf(" |(%d>%td)", len, ep - bp);
return;
}
/* Print the option value(s). */
OpenPOWER on IntegriCloud