diff options
author | des <des@FreeBSD.org> | 2001-07-03 21:46:43 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2001-07-03 21:46:43 +0000 |
commit | d96592acedb077157867cb23a05b48e2b2c84a6e (patch) | |
tree | f30d4b83e645784b0dffb0b8764483efecd84334 /sys/kern/subr_sbuf.c | |
parent | dd1382025f1fc023e360e70e0c6b2aa73df7c627 (diff) | |
download | FreeBSD-src-d96592acedb077157867cb23a05b48e2b2c84a6e.zip FreeBSD-src-d96592acedb077157867cb23a05b48e2b2c84a6e.tar.gz |
Constify the format string.
Submitted by: Mike Barcroft <mike@q9media.com>
Diffstat (limited to 'sys/kern/subr_sbuf.c')
-rw-r--r-- | sys/kern/subr_sbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_sbuf.c b/sys/kern/subr_sbuf.c index 942446d..3c3b93b 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; |