Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-show-ref: fix escaping in asciidoc source
[gitweb.git]
/
builtin
/
blame.c
diff --git
a/builtin/blame.c
b/builtin/blame.c
index 26a5d424b8ceb0fd403a492e46e3637fd35068ba..3e1f7e1e453f6ecc28fb910686c6580e77929556 100644
(file)
--- a/
builtin/blame.c
+++ b/
builtin/blame.c
@@
-1598,7
+1598,7
@@
static const char *format_time(unsigned long time, const char *tz_str,
int tz;
if (show_raw_time) {
- s
printf(time_buf
, "%lu %s", time, tz_str);
+ s
nprintf(time_buf, sizeof(time_buf)
, "%lu %s", time, tz_str);
}
else {
tz = atoi(tz_str);