]> asedeno.scripts.mit.edu Git - git.git/blobdiff - builtin-fetch-pack.c
Merge branch 'jc/maint-diff-quiet'
[git.git] / builtin-fetch-pack.c
index 85509f5ee5884589980c9a1c5f96b66a3d49d5dd..4dfef29bcd23a174593203e521247a3d4209cf89 100644 (file)
@@ -540,7 +540,7 @@ static int get_pack(int xd[2], char **pack_lockfile)
                        *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;