fs_cli: comply with -Wwrite-strings
This commit is contained in:
parent
8056125077
commit
02481cabbf
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue