mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
Fix the wrong format, format specifies type 'int' but the argument has type
'long', it was spotted by clang. Differential Revision: D2663 Reviewed by: imp, rodrigc
This commit is contained in:
parent
a770b4d8ae
commit
9310c7d568
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283869
@ -62,7 +62,7 @@ print_context_label (char const *mark,
|
||||
{
|
||||
time_t sec = inf->stat.st_mtime;
|
||||
verify (info_preserved, sizeof inf->stat.st_mtime <= sizeof sec);
|
||||
sprintf (buf, "%jd.%.9d", (intmax_t)sec, nsec);
|
||||
sprintf (buf, "%jd.%.9ld", (intmax_t)sec, nsec);
|
||||
}
|
||||
fprintf (outfile, "%s %s\t%s\n", mark, inf->name, buf);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user