[makefile] Add -Wformat-nonliteral as an extra warning category
authorMichael Brown <mcb30@etherboot.org>
Fri, 10 Oct 2008 17:41:24 +0000 (18:41 +0100)
committerMichael Brown <mcb30@etherboot.org>
Fri, 10 Oct 2008 17:41:24 +0000 (18:41 +0100)
commit2e812235f41c9dc3e11fef42a62f4693c0cf639a
tree2d90b48749c80c0c00964866a68463b91bf3c8e5
parentac663cf5093eb50c565874d6c5974b9495087faf
[makefile] Add -Wformat-nonliteral as an extra warning category

-Wformat-nonliteral is not enabled by -Wall and needs to be explicitly
 specified.

Modified the few files that use nonliteral format strings to work with
this new setting in place.

Inspired by a patch from Carl Karsten <carl@personnelware.com> and an
identical patch from Rorschach <r0rschach@lavabit.com>.
src/Makefile.housekeeping
src/drivers/net/3c595.c
src/drivers/net/forcedeth.c
src/drivers/net/via-rhine.c
src/include/gpxe/xfer.h
src/net/tcp/ftp.c