Date: Sat, 07 Jan 2017 21:24:16 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-doc@FreeBSD.org Subject: [Bug 215863] arch-handbook chapter 11, sample code mypci.c has wrong format string Message-ID: <bug-215863-9@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: martin@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215863-9>
