diff options
| author | Hartmut Brandt <harti@FreeBSD.org> | 2005-05-24 15:45:11 +0000 |
|---|---|---|
| committer | Hartmut Brandt <harti@FreeBSD.org> | 2005-05-24 15:45:11 +0000 |
| commit | 8ea7e6722bd4548e6dc213b53857df06623e6c32 (patch) | |
| tree | 4fdc243ebc0d86306645102885d9037762fb2952 /usr.bin/make | |
| parent | 99c2f31565245fece6d5bd1663b790823631814b (diff) | |
Notes
Diffstat (limited to 'usr.bin/make')
| -rw-r--r-- | usr.bin/make/arch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/make/arch.c b/usr.bin/make/arch.c index 2078d346c525..716c1d883586 100644 --- a/usr.bin/make/arch.c +++ b/usr.bin/make/arch.c @@ -775,7 +775,8 @@ ArchArchiveTouch(struct arfile *ar, int64_t ts) * change timestamp, be sure to not NUL-terminated it, but * to fill with spaces. */ - snprintf(ar->hdr.ar_date, sizeof(ar->hdr.ar_date), "%lld", ts); + snprintf(ar->hdr.ar_date, sizeof(ar->hdr.ar_date), "%jd", + (intmax_t)ts); memset(ar->hdr.ar_date + strlen(ar->hdr.ar_date), ' ', sizeof(ar->hdr.ar_date) - strlen(ar->hdr.ar_date)); |
