aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuli Mallett <jmallett@FreeBSD.org>2002-07-15 06:57:01 +0000
committerJuli Mallett <jmallett@FreeBSD.org>2002-07-15 06:57:01 +0000
commit9739527ffbaad97654e77da6af829aaf7e8aa7d2 (patch)
treef8f9f67772db2ce4146f340b9667bd348b80c242
parent5c8cdc0e2ae83824c347b35afc7382b5606214cd (diff)
downloadsrc-9739527ffbaad97654e77da6af829aaf7e8aa7d2.tar.gz
src-9739527ffbaad97654e77da6af829aaf7e8aa7d2.zip
Use %zu to print size_t.
Notes
Notes: svn path=/head/; revision=100036
-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 77c4d0133c64..26a848ae79b0 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;