Skip to content

Commit 5c992a1

Browse files
committed
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
2 parents 2e3710b + 447b99c commit 5c992a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

advice.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ void advise(const char *advice, ...)
3232
const char *cp, *np;
3333

3434
va_start(params, advice);
35-
strbuf_addf(&buf, advice, params);
35+
strbuf_vaddf(&buf, advice, params);
3636
va_end(params);
3737

3838
for (cp = buf.buf; *cp; cp = np) {

0 commit comments

Comments
 (0)