mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
Fix "Pointer to local array variable returned"
This commit is contained in:
parent
5f8fcef688
commit
533aebe336
2
compat.c
2
compat.c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user