From bce43ea96d61d9a960a54e85a8d4e7312fb3bf53 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Tue, 7 Mar 2006 06:02:09 +0000 Subject: [PATCH] Fix a format mismatch (%d integer format, platform-dependent argument type). --- usr.bin/tar/read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/tar/read.c b/usr.bin/tar/read.c index dc954090549..681308dc931 100644 --- a/usr.bin/tar/read.c +++ b/usr.bin/tar/read.c @@ -279,7 +279,7 @@ list_item_verbose(struct bsdtar *bsdtar, FILE *out, struct archive_entry *entry) if (!now) time(&now); bsdtar_strmode(entry, tmp); - fprintf(out, "%s %d ", tmp, st->st_nlink); + fprintf(out, "%s %d ", tmp, (int)(st->st_nlink)); /* Use uname if it's present, else uid. */ p = archive_entry_uname(entry);