| Summary: | malloc(2) man page correction | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | avn <avn> |
| Component: | Books & Articles | Assignee: | Poul-Henning Kamp <phk> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-doc->phk Over to the guilty party. State Changed From-To: open->closed This looks like it has been resolved already. |
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 :)