diff options
author | bde <bde@FreeBSD.org> | 1998-06-30 20:48:45 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-06-30 20:48:45 +0000 |
commit | 755fd03ef8c4c7cd442a382538064abb074ea245 (patch) | |
tree | 1dc0fdd586975864287e9c69d45555db8113635e /gnu/usr.bin/ld/warnings.c | |
parent | 53d1b984ceb16d702513f6990576840c1c5d7cd0 (diff) | |
download | FreeBSD-src-755fd03ef8c4c7cd442a382538064abb074ea245.zip FreeBSD-src-755fd03ef8c4c7cd442a382538064abb074ea245.tar.gz |
Fixed printf format errors.
Diffstat (limited to 'gnu/usr.bin/ld/warnings.c')
-rw-r--r-- | gnu/usr.bin/ld/warnings.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/gnu/usr.bin/ld/warnings.c b/gnu/usr.bin/ld/warnings.c index 76df8f7..ceb303a 100644 --- a/gnu/usr.bin/ld/warnings.c +++ b/gnu/usr.bin/ld/warnings.c @@ -30,7 +30,7 @@ Set, indirect, and warning symbol features added by Randy Smith. */ /* - * $Id$ + * $Id: warnings.c,v 1.15 1997/02/22 15:46:27 peter Exp $ */ #include <sys/param.h> @@ -185,10 +185,14 @@ describe_file_sections(entry, outfile) if (entry->flags & (E_JUST_SYMS | E_DYNAMIC)) fprintf(outfile, " symbols only\n"); else - fprintf(outfile, " text %x(%lx), data %x(%lx), bss %x(%lx) hex\n", - entry->text_start_address, entry->header.a_text, - entry->data_start_address, entry->header.a_data, - entry->bss_start_address, entry->header.a_bss); + fprintf(outfile, + " text %x(%lx), data %x(%lx), bss %x(%lx) hex\n", + entry->text_start_address, + (unsigned long)entry->header.a_text, + entry->data_start_address, + (unsigned long)entry->header.a_data, + entry->bss_start_address, + (unsigned long)entry->header.a_bss); } static void |