summaryrefslogtreecommitdiff
path: root/lib/getusershell.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/getusershell.c')
-rw-r--r--lib/getusershell.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/getusershell.c b/lib/getusershell.c
index 1b9a18a3c..ec35aa241 100644
--- a/lib/getusershell.c
+++ b/lib/getusershell.c
@@ -33,11 +33,10 @@
# endif
#endif
-#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
-#include "stdio-safer.h"
+#include "stdio--.h"
#include "xalloc.h"
#if USE_UNLOCKED_IO
@@ -99,7 +98,7 @@ getusershell (void)
if (shellstream == NULL)
{
- shellstream = fopen_safer (SHELLS_FILE, "r");
+ shellstream = fopen (SHELLS_FILE, "r");
if (shellstream == NULL)
{
/* No shells file. Use the default list. */