diff options
| author | Marcelo Araujo <araujo@FreeBSD.org> | 2015-06-01 06:14:17 +0000 |
|---|---|---|
| committer | Marcelo Araujo <araujo@FreeBSD.org> | 2015-06-01 06:14:17 +0000 |
| commit | 9310c7d568363767c06ec1aa2255c313e70f54bc (patch) | |
| tree | 11fa2a1794863ee4a3e328cb65f67472ad1ca646 | |
| parent | a770b4d8ae6633c99e5ab0638ea2d04f028e8d26 (diff) | |
Notes
| -rw-r--r-- | contrib/diff/src/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/diff/src/context.c b/contrib/diff/src/context.c index 4937ce27d9cc..73bde69cd418 100644 --- a/contrib/diff/src/context.c +++ b/contrib/diff/src/context.c @@ -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); } |
