From 755fd03ef8c4c7cd442a382538064abb074ea245 Mon Sep 17 00:00:00 2001
From: bde <bde@FreeBSD.org>
Date: Tue, 30 Jun 1998 20:48:45 +0000
Subject: Fixed printf format errors.

---
 gnu/usr.bin/ld/lib.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'gnu/usr.bin/ld/lib.c')

diff --git a/gnu/usr.bin/ld/lib.c b/gnu/usr.bin/ld/lib.c
index 1281933..1abd974 100644
--- a/gnu/usr.bin/ld/lib.c
+++ b/gnu/usr.bin/ld/lib.c
@@ -30,7 +30,7 @@
    Set, indirect, and warning symbol features added by Randy Smith. */
 
 /*
- * $Id$	- library routines
+ * $Id: lib.c,v 1.21 1997/02/22 15:46:22 peter Exp $	- library routines
  */
 
 #include <sys/param.h>
@@ -130,7 +130,7 @@ decode_library_subfile(fd, library_entry, subfile_offset, length_loc)
 	if (sscanf(hdr1.ar_size, "%d", &member_length) != 1)
 		errx(1, "%s: malformatted header of archive member: %.*s",
 			get_file_name(library_entry),
-			sizeof(hdr1.ar_name), hdr1.ar_name);
+			(int)sizeof(hdr1.ar_name), hdr1.ar_name);
 
 	subentry = (struct file_entry *) xmalloc(sizeof(struct file_entry));
 	bzero(subentry, sizeof(struct file_entry));
@@ -157,7 +157,7 @@ decode_library_subfile(fd, library_entry, subfile_offset, length_loc)
 		if (read(fd, name, namelen) != namelen)
 			errx(1, "%s: malformatted archive member: %.*s",
 				get_file_name(library_entry),
-				sizeof(hdr1.ar_name), hdr1.ar_name);
+				(int)sizeof(hdr1.ar_name), hdr1.ar_name);
 		name[namelen] = 0;
 		content_length -= namelen;
 		starting_offset += namelen;
-- 
cgit v1.1