aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/net/3c595.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2008-10-10 18:41:24 +0100
committerMichael Brown <mcb30@etherboot.org>2008-10-10 18:41:24 +0100
commit2e812235f41c9dc3e11fef42a62f4693c0cf639a (patch)
tree2d90b48749c80c0c00964866a68463b91bf3c8e5 /src/drivers/net/3c595.c
parentac663cf5093eb50c565874d6c5974b9495087faf (diff)
downloadipxe-2e812235f41c9dc3e11fef42a62f4693c0cf639a.tar.gz
[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>.
Diffstat (limited to 'src/drivers/net/3c595.c')
-rw-r--r--src/drivers/net/3c595.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/net/3c595.c b/src/drivers/net/3c595.c
index 7138f936e..198e12e71 100644
--- a/src/drivers/net/3c595.c
+++ b/src/drivers/net/3c595.c
@@ -363,7 +363,7 @@ vxgetlink(void)
if (n > 0) {
printf("/");
}
- printf(conn_tab[k].name);
+ printf("%s", conn_tab[k].name );
n++;
}
}