Author: dim Date: Fri Dec 16 15:55:43 2011 New Revision: 228584 URL: http://svn.freebsd.org/changeset/base/228584
Log: In libexec/bootpd/tools/bootptest/print-bootp.c, use the correct printf length modifier for the difference between two pointers. MFC after: 1 week Modified: head/libexec/bootpd/tools/bootptest/print-bootp.c Modified: head/libexec/bootpd/tools/bootptest/print-bootp.c ============================================================================== --- head/libexec/bootpd/tools/bootptest/print-bootp.c Fri Dec 16 15:47:43 2011 (r228583) +++ head/libexec/bootpd/tools/bootptest/print-bootp.c Fri Dec 16 15:55:43 2011 (r228584) @@ -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). */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"