aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2001-07-03 21:46:43 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2001-07-03 21:46:43 +0000
commit2687c8741bcc49ea74ec7525dd3a7173f72683f9 (patch)
treef30d4b83e645784b0dffb0b8764483efecd84334 /sys/sys
parent4f0b1b7805fdc4ec9395589ce35ecbf04292453d (diff)
downloadsrc-2687c8741bcc49ea74ec7525dd3a7173f72683f9.tar.gz
src-2687c8741bcc49ea74ec7525dd3a7173f72683f9.zip
Constify the format string.
Submitted by: Mike Barcroft <mike@q9media.com>
Notes
Notes: svn path=/head/; revision=79162
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/sbuf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/sbuf.h b/sys/sys/sbuf.h
index 80d413b1f240..20f39c2d422f 100644
--- a/sys/sys/sbuf.h
+++ b/sys/sys/sbuf.h
@@ -58,7 +58,7 @@ int sbuf_bcat(struct sbuf *s, const char *str, size_t len);
int sbuf_bcpy(struct sbuf *s, const char *str, size_t len);
int sbuf_cat(struct sbuf *s, const char *str);
int sbuf_cpy(struct sbuf *s, const char *str);
-int sbuf_printf(struct sbuf *s, char *fmt, ...);
+int sbuf_printf(struct sbuf *s, const char *fmt, ...);
int sbuf_putc(struct sbuf *s, int c);
int sbuf_overflowed(struct sbuf *s);
void sbuf_finish(struct sbuf *s);