diff options
author | Michael Brown | 2012-04-10 20:38:54 +0200 |
---|---|---|
committer | Michael Brown | 2012-04-10 20:38:54 +0200 |
commit | 196751ce95fa6b6566a5b336193681fad3581fd1 (patch) | |
tree | 5f4c47b8b7099513f34f6219abccb437b8656cb9 /src/util/iccfix.c | |
parent | [igbvf] Add i350 virtual function support (diff) | |
download | ipxe-196751ce95fa6b6566a5b336193681fad3581fd1.tar.gz ipxe-196751ce95fa6b6566a5b336193681fad3581fd1.tar.xz ipxe-196751ce95fa6b6566a5b336193681fad3581fd1.zip |
[build] Enable warnings when building utilities
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/util/iccfix.c')
-rw-r--r-- | src/util/iccfix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/iccfix.c b/src/util/iccfix.c index 8b555c54..528bf4b2 100644 --- a/src/util/iccfix.c +++ b/src/util/iccfix.c @@ -2,6 +2,7 @@ #include <stddef.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #include <fcntl.h> #include <errno.h> @@ -49,7 +50,7 @@ static int ICCFIX ( void *elf ) { ( align >= ICC_ALIGN_HACK_FACTOR ) ) { new_align = ( align / ICC_ALIGN_HACK_FACTOR ); shdr->sh_addralign = new_align; - dprintf ( "Section \"%s\": alignment %d->%d\n", + dprintf ( "Section \"%s\": alignment %ld->%ld\n", name, align, new_align ); } } |