diff options
author | kientzle <kientzle@FreeBSD.org> | 2006-03-07 06:02:09 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2006-03-07 06:02:09 +0000 |
commit | adcc62544996b810d5600a0e1de6b7b1adb2d4d3 (patch) | |
tree | 4c4e4b799e027824e004d18f961f1d4d7b61091f | |
parent | ccaf726b20f34444c6cbe5c3fb217acfbac4d5e6 (diff) | |
download | FreeBSD-src-adcc62544996b810d5600a0e1de6b7b1adb2d4d3.zip FreeBSD-src-adcc62544996b810d5600a0e1de6b7b1adb2d4d3.tar.gz |
Fix a format mismatch (%d integer format, platform-dependent
argument type).
-rw-r--r-- | usr.bin/tar/read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tar/read.c b/usr.bin/tar/read.c index dc95409..681308d 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); |