| Summary: | arch-handbook chapter 11, sample code mypci.c has wrong format string | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | Martin Waschbüsch <martin> |
| Component: | Books & Articles | Assignee: | freebsd-doc (Nobody) <doc> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | CC: | trhodes |
| Priority: | --- | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Martin Waschbüsch
2017-01-07 21:24:16 UTC
I updated the documentation, it should be available on the website within 24 hours. Thanks! A commit references this bug: Author: trhodes Date: Mon Mar 11 15:12:25 UTC 2019 New revision: 52856 URL: https://svnweb.freebsd.org/changeset/doc/52856 Log: Use %zd as the format string. The previous, %d, is not ssize_t and breaks the mypci.c build. PR: 215863 Changes: head/en_US.ISO8859-1/books/arch-handbook/pci/chapter.xml |