diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-22 00:45:55 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-22 00:45:55 +0100 |
commit | b41ccf1b0351f7c836bf000b9e8c4a389e38f389 (patch) | |
tree | 7d7301ac562b40d084eb5c74ecab7f6906e0335e /trans | |
parent | 9bef61c2e7d7a2bcbc24a024bb3d6d1c278c5e77 (diff) | |
download | hurd-b41ccf1b0351f7c836bf000b9e8c4a389e38f389.tar.gz hurd-b41ccf1b0351f7c836bf000b9e8c4a389e38f389.tar.bz2 hurd-b41ccf1b0351f7c836bf000b9e8c4a389e38f389.zip |
crash: Fix warning
* trans/crash.c (template_make_file_name): Fix format for time_t.
Diffstat (limited to 'trans')
-rw-r--r-- | trans/crash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trans/crash.c b/trans/crash.c index 68cde9a6..d20b9f43 100644 --- a/trans/crash.c +++ b/trans/crash.c @@ -149,7 +149,7 @@ template_make_file_name (const char *template, break; case 't': - fprintf (stream, "%d", time (NULL)); + fprintf (stream, "%lld", (long long) time (NULL)); break; default: |