Skip to content
Snippets Groups Projects
Commit 533aebe3 authored by Chocobo1's avatar Chocobo1
Browse files

Fix "Pointer to local array variable returned"

parent 5f8fcef6
Branches
Tags
No related merge requests found
......@@ -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;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment