diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-07-30 22:05:25 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-07-30 22:05:25 +0200 |
commit | 5c992a1326bf2d79a28cb1b0a64ddbc42420073f (patch) | |
tree | 02de88d553b9c0fbf58a04078689a3cdfb45a399 /advice.c | |
parent | Merge branch 'kk/maint-commit-tree' into maint (diff) | |
parent | advice: pass varargs to strbuf_vaddf, not strbuf_addf (diff) | |
download | git-5c992a1326bf2d79a28cb1b0a64ddbc42420073f.tar.xz git-5c992a1326bf2d79a28cb1b0a64ddbc42420073f.zip |
Merge branch 'jk/maint-advise-vaddf' into maint
The advise() function did not use varargs correctly to format
its message.
* jk/maint-advise-vaddf:
advice: pass varargs to strbuf_vaddf, not strbuf_addf
Diffstat (limited to 'advice.c')
-rw-r--r-- | advice.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ void advise(const char *advice, ...) const char *cp, *np; va_start(params, advice); - strbuf_addf(&buf, advice, params); + strbuf_vaddf(&buf, advice, params); va_end(params); for (cp = buf.buf; *cp; cp = np) { |