diff options
Diffstat (limited to 'usr/src/lib/libc/port/gen/getusershell.c')
-rw-r--r-- | usr/src/lib/libc/port/gen/getusershell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/lib/libc/port/gen/getusershell.c b/usr/src/lib/libc/port/gen/getusershell.c index b7edd9e4dd..289ae3c4a2 100644 --- a/usr/src/lib/libc/port/gen/getusershell.c +++ b/usr/src/lib/libc/port/gen/getusershell.c @@ -1,5 +1,5 @@ /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -113,7 +113,7 @@ initshells(void) if (strings != NULL) (void) free(strings); strings = NULL; - if ((fp = fopen(SHELLS, "r")) == (FILE *)0) + if ((fp = fopen(SHELLS, "rF")) == (FILE *)0) return ((char **)okshells); /* * The +1 in the malloc() below is needed to handle the final |