summaryrefslogtreecommitdiffstats
path: root/sys/sys/sbuf.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2001-07-03 21:46:43 +0000
committerdes <des@FreeBSD.org>2001-07-03 21:46:43 +0000
commitd96592acedb077157867cb23a05b48e2b2c84a6e (patch)
treef30d4b83e645784b0dffb0b8764483efecd84334 /sys/sys/sbuf.h
parentdd1382025f1fc023e360e70e0c6b2aa73df7c627 (diff)
downloadFreeBSD-src-d96592acedb077157867cb23a05b48e2b2c84a6e.zip
FreeBSD-src-d96592acedb077157867cb23a05b48e2b2c84a6e.tar.gz
Constify the format string.
Submitted by: Mike Barcroft <mike@q9media.com>
Diffstat (limited to 'sys/sys/sbuf.h')
-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 80d413b..20f39c2 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);
OpenPOWER on IntegriCloud