aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/output.c
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2009-12-24 18:41:14 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2009-12-24 18:41:14 +0000
commit2cac6e364a22fbb88eff4a1d36a09fef0064b421 (patch)
tree3810323287749c3a09fadeeed64429a5bf2fbb4d /bin/sh/output.c
parentb4c170e1f58feb50951b5453cfba4007a3ee18ff (diff)
downloadsrc-2cac6e364a22fbb88eff4a1d36a09fef0064b421.tar.gz
src-2cac6e364a22fbb88eff4a1d36a09fef0064b421.zip
sh: Constify various strings.
Most of this is adding const keywords, but setvar() in var.c had to be changed somewhat more.
Notes
Notes: svn path=/head/; revision=200956
Diffstat (limited to 'bin/sh/output.c')
-rw-r--r--bin/sh/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/output.c b/bin/sh/output.c
index f1d207237e50..fd03e23fc170 100644
--- a/bin/sh/output.c
+++ b/bin/sh/output.c
@@ -314,7 +314,7 @@ doformat(struct output *dest, const char *f, va_list ap)
*/
int
-xwrite(int fd, char *buf, int nbytes)
+xwrite(int fd, const char *buf, int nbytes)
{
int ntry;
int i;