From: Travis Cross Date: Mon, 26 Sep 2011 21:56:57 +0000 (+0000) Subject: fs_cli: comply with -Wwrite-strings X-Git-Tag: v1.2-rc1~51^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02481cabbf03c8a5e792e361a1ab08c7e50b3e59;p=thirdparty%2Ffreeswitch.git fs_cli: comply with -Wwrite-strings --- 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);