Date: Tue, 26 Jul 2011 13:26:51 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/boot/common ufsread.c src/sys/boot/i386/boot2 boot2.c Message-ID: <201107261327.p6QDR3QC073538@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2011-07-26 13:26:51 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/boot/common ufsread.c
sys/boot/i386/boot2 boot2.c
Log:
SVN rev 224439 on 2011-07-26 13:26:51Z by marius
MFC: r219452
Some more shrinking.
o bunch of variables are turned into uint8_t
o initial setting of namep[] in lookup() is removed
as it's only overwritten a few lines down
o kname is explicitly initialized in main() as BSS
in boot2 is not zeroed
o the setting and reading of "fmt" in load() is removed
o buf in printf() is made static to save space
Reviewed by: jhb
Tested by: me and Fabian Keil <freebsd-listen fabiankeil de>
Revision Changes Path
1.14.10.9 +1 -3 src/sys/boot/common/ufsread.c
1.83.2.12 +16 -18 src/sys/boot/i386/boot2/boot2.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107261327.p6QDR3QC073538>
