]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Revert the rev. 1.4, it causes breakage on most arches except i386.
authorkib <kib@FreeBSD.org>
Mon, 23 Oct 2006 07:25:25 +0000 (07:25 +0000)
committerkib <kib@FreeBSD.org>
Mon, 23 Oct 2006 07:25:25 +0000 (07:25 +0000)
commite6083a98d8a340cd107329b92825df0bbe7118ae
tree27db3cb7aa30f3d6d7f2b88179049c0c668ef1ba
parentf395a2d02c323a280083ffe5ec6a052fc677a05a
Revert the rev. 1.4, it causes breakage on most arches except i386.

Remove the const qualifier from ap argument for __v2printf, that induced
that breakage, and seems to be the real reason for bad code. ap is modified
inside the __v2printf body by va_arg macro.

Pointy hat to: kib
Approved by: pjd (mentor)
lib/libc/stdio/xprintf.c