Bug 30864

Summary: bootpd/tools/bootptest/print-bootp.c - incorrect printf format
Product: Base System Reporter: Dan Lukes <dan>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.4-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Dan Lukes 2001-09-27 09:00:02 UTC
	incorrect printf format cause incorrect print of information (and
may cause abend)

	the format for printing of ntohl(..) should be "%ld" not "%d"
Comment 1 iedowse freebsd_committer freebsd_triage 2001-09-29 12:39:08 UTC
State Changed
From-To: open->closed


This, and a selection of other compiler warnings are fixed now. 
Note that it is necessary to cast the return from ntohl() before 
passing it to printf(), since its return type is uint32_t.