diff options
| author | Junio C Hamano <gitster@pobox.com> | 2008-09-02 17:45:25 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2008-09-02 17:45:25 -0700 |
| commit | 14e8607c4129b4470f46f6f59e29103f620f3a73 (patch) | |
| tree | 0c332b9b0a80375e421286cb1caea8089b331a00 /builtin-fetch-pack.c | |
| parent | 4afbaefffa9095fe1391b4b61289a7dc954e9f7b (diff) | |
| parent | 85e72830697a23dd6b1af8b6bfb3c1a7be60dfae (diff) | |
| download | git-14e8607c4129b4470f46f6f59e29103f620f3a73.tar.gz | |
Merge branch 'dp/pid-uintmax'
* dp/pid-uintmax:
cast pid_t's to uintmax_t to improve portability
Diffstat (limited to 'builtin-fetch-pack.c')
| -rw-r--r-- | builtin-fetch-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-fetch-pack.c b/builtin-fetch-pack.c index 273239af3b..17a5a422c2 100644 --- a/builtin-fetch-pack.c +++ b/builtin-fetch-pack.c @@ -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; |
