Searched hist:222004 (Results 1 - 1 of 1) sorted by relevance
/freebsd-11-stable/sys/kern/ | ||
H A D | subr_sbuf.c | diff 222004 Tue May 17 04:41:29 MDT 2011 phk Don't expect PAGE_SIZE to exist on all platforms (It is a pretty arbitrary choice of default size in the first place) Reverse the order of arguments to the internal static sbuf_put_byte() function to match everything else in this file. Move sbuf_putc_func() inside the kernel version of sbuf_vprintf where it belongs. sbuf_putc() incorrectly used sbuf_putc_func() which supress NUL characters, it should use sbuf_put_byte(). Make sbuf_finish() return -1 on error. Minor stylistic nits fixed. |
Completed in 80 milliseconds