Bug 28371

Summary: malloc(2) man page correction
Product: Documentation Reporter: avn <avn>
Component: Books & ArticlesAssignee: Poul-Henning Kamp <phk>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description avn 2001-06-23 19:20:00 UTC
From malloc(2):
       including the following in the source code:
		extern char *malloc_options;
		malloc_options = "X";
But this piece of code will produce a warning with -Wwrite-string, better
way is 'extern const char *malloc_options;'.

Fix: 

correct the manpage :)
Comment 1 ru freebsd_committer freebsd_triage 2001-06-27 15:21:00 UTC
Responsible Changed
From-To: freebsd-doc->phk

Over to the guilty party.
Comment 2 Poul-Henning Kamp freebsd_committer freebsd_triage 2003-07-29 11:22:54 UTC
State Changed
From-To: open->closed

This looks like it has been resolved already.