diff --git a/builtin-fetch-pack.c b/builtin-fetch-pack.c
index 6b37281a956892db676ad0b6e8c38b5d82316797..459c6f0da35ac0a4d6cc0a914f6aa905f8a94d42 100644 (file)
--- a/builtin-fetch-pack.c
+++ b/builtin-fetch-pack.c
*av++ = "--fix-thin";
if (args.lock_pack || unpack_limit) {
int s = sprintf(keep_arg,
- "--keep=fetch-pack %d on ", getpid());
+ "--keep=fetch-pack %"PRIuMAX " on ", (uintmax_t) getpid());
if (gethostname(keep_arg + s, sizeof(keep_arg) - s))
strcpy(keep_arg + s, "localhost");
*av++ = keep_arg;