aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_sbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/subr_sbuf.c')
-rw-r--r--sys/kern/subr_sbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_sbuf.c b/sys/kern/subr_sbuf.c
index 942446dec7db..3c3b93b3169e 100644
--- a/sys/kern/subr_sbuf.c
+++ b/sys/kern/subr_sbuf.c
@@ -296,7 +296,7 @@ sbuf_cpy(struct sbuf *s, const char *str)
* Format the given arguments and append the resulting string to an sbuf.
*/
int
-sbuf_printf(struct sbuf *s, char *fmt, ...)
+sbuf_printf(struct sbuf *s, const char *fmt, ...)
{
va_list ap;
int len;