summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fwrite.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-07 05:00:09 +0000
committerbde <bde@FreeBSD.org>1998-07-07 05:00:09 +0000
commitd28c0c138bbfa7a46e1c630311b4229ff8e7dd3e (patch)
treef3d8ac63525e7f73a3f92e501f2f7d1486fee426 /lib/libc/stdio/fwrite.c
parent55b8a9ebf0bfec18ecb357b8f0e8f8b45c321c31 (diff)
downloadFreeBSD-src-d28c0c138bbfa7a46e1c630311b4229ff8e7dd3e.zip
FreeBSD-src-d28c0c138bbfa7a46e1c630311b4229ff8e7dd3e.tar.gz
Changed `#if defined(i386)' to `#ifdef __i386__'.
`#if defined(ONE_THING)' is a style bug, and i386 instead of __i386__ is a bug, since i386 is never defined when the kernel is compiled by with the default flags (`gcc -ansi ...'). Here the bug disabled the call to pmap_setvidram(), so ISA video memory was not mapped WC on 686's. The bug may have been masked by bugs in the committer's version of gcc - `gcc -ansi' incorrectly defines i386 for gcc = the version of egcs on the 2.2.6 cdrom.
Diffstat (limited to 'lib/libc/stdio/fwrite.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud