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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "[email protected]"

Reply via email to