Date: 10 Dec 2000 15:44:33 +0100 From: Dag-Erling Smorgrav <des@ofug.org> To: arch@freebsd.org Subject: %a and %A formats Message-ID: <xzppuj0s5da.fsf@flood.ping.uio.no>
next in thread | raw e-mail | index | archive | help
I've added %a and %A formats to the kernel printf() and replaced most instances of inet_ntoa() in sys/netinet with %a (I'll do netinet6 later if there's interest). The patches are up on freefall: http://people.freebsd.org/~des/software/printf-20001209.diff I've probably done at least *one* thing wrong, so I'll appreciate feedback on how to improve the patch before it's committed. I'd also appreciate any information on how to teach gcc about %a and %A (currently, it thinks %a is a floating point format and complains about passing a pointer instead of a double) DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzppuj0s5da.fsf>