summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-07-15 06:57:01 +0000
committerjmallett <jmallett@FreeBSD.org>2002-07-15 06:57:01 +0000
commit35fdcc10ba3e9463e61fe7fe240580e3a5b78bb6 (patch)
treef8f9f67772db2ce4146f340b9667bd348b80c242 /usr.bin
parentdd3f12898132dd0584f5daaa400ef6c9072093ef (diff)
downloadFreeBSD-src-35fdcc10ba3e9463e61fe7fe240580e3a5b78bb6.zip
FreeBSD-src-35fdcc10ba3e9463e61fe7fe240580e3a5b78bb6.tar.gz
Use %zu to print size_t.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/make/arch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/arch.c b/usr.bin/make/arch.c
index 77c4d01..26a848a 100644
--- a/usr.bin/make/arch.c
+++ b/usr.bin/make/arch.c
@@ -730,7 +730,7 @@ ArchSVR4Entry(ar, name, size, arch)
break;
}
if (DEBUG(ARCH)) {
- printf("Found svr4 archive name table with %d entries\n", entry);
+ printf("Found svr4 archive name table with %zu entries\n", entry);
}
return 0;
}
@@ -747,7 +747,7 @@ ArchSVR4Entry(ar, name, size, arch)
}
if (entry >= ar->fnamesize) {
if (DEBUG(ARCH)) {
- printf("SVR4 entry offset %s is greater than %d\n",
+ printf("SVR4 entry offset %s is greater than %zu\n",
name, ar->fnamesize);
}
return 2;
OpenPOWER on IntegriCloud