diff options
author | peter <peter@FreeBSD.org> | 2005-06-14 02:43:45 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2005-06-14 02:43:45 +0000 |
commit | 0ac96cc3449e6cc308ab0966f50b6bfc49316259 (patch) | |
tree | 0501b5433483e62d294b0347bcdfb85a3618a9b2 /lib/libc/stdlib/ldiv.c | |
parent | c1f0877e6fa535d784c31cf1740d786f0d2c1c68 (diff) | |
download | FreeBSD-src-0ac96cc3449e6cc308ab0966f50b6bfc49316259.zip FreeBSD-src-0ac96cc3449e6cc308ab0966f50b6bfc49316259.tar.gz |
Fix syscons on amd64. The SC_PIXEL_MODE commit from May 29th added a new
function pointer to the vga render dispatch table and initialized it with
vga_nop. The problem is that vga_nop() is a varargs function, and the
table declares a non-varargs function pointer. On amd64 (and I think ppc),
mixing varargs and non-varargs function pointers is fatal.
Change vga_nop() and gfb_nop() from varargs to non-varargs do-nothing
functions. This stops the stack corruption that only happened on amd64.
Approved by: re (scottl)
Diffstat (limited to 'lib/libc/stdlib/ldiv.c')
0 files changed, 0 insertions, 0 deletions