diff options
author | Chocobo1 <Chocobo1@users.noreply.github.com> | 2016-01-05 12:25:10 +0800 |
---|---|---|
committer | Chocobo1 <Chocobo1@users.noreply.github.com> | 2016-01-05 12:25:10 +0800 |
commit | 533aebe33656f0ade5f9071ae7880b54a097752b (patch) | |
tree | 5d17580e2d5659fdb1a284eaccce4cdaf571b7a0 /compat.c | |
parent | 5f8fcef688a6719ae54bda58d83b68e481edbf5e (diff) |
Fix "Pointer to local array variable returned"
Diffstat (limited to 'compat.c')
-rw-r--r-- | compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -235,7 +235,7 @@ void setusershell() { static char **initshells() { /* don't touch this list. */ - const char *okshells[] = { "/bin/sh", "/bin/csh", NULL }; + static const char *okshells[] = { "/bin/sh", "/bin/csh", NULL }; register char **sp, *cp; register FILE *fp; struct stat statb; |