FreeBSD Bugzilla – Attachment 16924 Details for
Bug 30864
bootpd/tools/bootptest/print-bootp.c - incorrect printf format
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 610 bytes, created by
Dan Lukes
on 2001-09-27 09:00:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Dan Lukes
Created:
2001-09-27 09:00:02 UTC
Size:
610 bytes
patch
obsolete
>--- libexec/bootpd/tools/bootptest/print-bootp.c.orig Sat Aug 28 02:09:25 1999 >+++ libexec/bootpd/tools/bootptest/print-bootp.c Thu Sep 27 03:00:31 2001 >@@ -120,7 +120,7 @@ > printf(" hops:%d", bp->bp_hops); > > if (bp->bp_xid) >- printf(" xid:%d", ntohl(bp->bp_xid)); >+ printf(" xid:%ld", ntohl(bp->bp_xid)); > > if (bp->bp_secs) > printf(" secs:%d", ntohs(bp->bp_secs)); >@@ -336,7 +336,7 @@ > case 'l': /* Long words */ > while (len >= 4) { > bcopy((char *) bp, (char *) &ul, 4); >- printf("%d", ntohl(ul)); >+ printf("%ld", ntohl(ul)); > bp += 4; > len -= 4; > if (len) printf(",");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 30864
: 16924