In libexec/bootpd/tools/bootptest/print-bootp.c, use the correct printf
length modifier for the difference between two pointers. MFC after: 1 week
This commit is contained in:
parent
5ed5554f0a
commit
747a8c81c7
@ -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). */
|
||||
|
Loading…
Reference in New Issue
Block a user