[Bug 215863] arch-handbook chapter 11, sample code mypci.c has wrong format string
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jan 7 21:24:16 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215863
Bug ID: 215863
Summary: arch-handbook chapter 11, sample code mypci.c has
wrong format string
Product: Documentation
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Documentation
Assignee: freebsd-doc at FreeBSD.org
Reporter: martin at waschbuesch.de
Lines 82 and 93 of the example code (mypci.c) should use the %zd format string
instead of %d.
Otherwise the code fails on 64bit arch.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-doc
mailing list