From 02481cabbf03c8a5e792e361a1ab08c7e50b3e59 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Mon, 26 Sep 2011 21:56:57 +0000 Subject: [PATCH] fs_cli: comply with -Wwrite-strings --- libs/esl/fs_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/esl/fs_cli.c b/libs/esl/fs_cli.c index 775c5af11f..3d66a17adf 100644 --- a/libs/esl/fs_cli.c +++ b/libs/esl/fs_cli.c @@ -575,7 +575,7 @@ static int stdout_writable(void) #endif } -static int write_str(char *s) { +static int write_str(const char *s) { int n, left = strlen(s); while (1) { n = write(STDOUT_FILENO, s, left);