Date: Sat, 11 Sep 2010 19:42:50 +0000 (UTC) From: Alexander Kabaev <kan@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r212478 - head/sys/kern Message-ID: <201009111942.o8BJgocS032974@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kan Date: Sat Sep 11 19:42:50 2010 New Revision: 212478 URL: http://svn.freebsd.org/changeset/base/212478 Log: Add missing pointer increment to sbuf_cat. Modified: head/sys/kern/subr_sbuf.c Modified: head/sys/kern/subr_sbuf.c ============================================================================== --- head/sys/kern/subr_sbuf.c Sat Sep 11 18:55:00 2010 (r212477) +++ head/sys/kern/subr_sbuf.c Sat Sep 11 19:42:50 2010 (r212478) @@ -441,7 +441,7 @@ sbuf_cat(struct sbuf *s, const char *str return (-1); while (*str != '\0') { - sbuf_put_byte(*str, s); + sbuf_put_byte(*str++, s); if (s->s_error != 0) return (-1); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009111942.o8BJgocS032974>