Fix comment in strbuf.h

This commit is contained in:
Andrew Bettison 2013-03-26 18:24:13 +10:30
parent d3d6fa4547
commit a50594971c

View File

@ -37,7 +37,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
strbuf_str(sb)[strbuf_len(sb)] == '\0'
char buf[100];
strbuf b;
struct strbuf b;
strbuf_init(&b, buf, sizeof buf);
strbuf_puts(&b, "text");
strbuf_sprintf(&b, "fmt", val...);