summaryrefslogtreecommitdiff
path: root/nis/nss-default.c
diff options
context:
space:
mode:
Diffstat (limited to 'nis/nss-default.c')
-rw-r--r--nis/nss-default.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nis/nss-default.c b/nis/nss-default.c
index d7a3293a49..e4dc3d6af1 100644
--- a/nis/nss-default.c
+++ b/nis/nss-default.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 1996,2001,2004,2006,2007,2010 Free Software Foundation, Inc.
+/* Copyright (C) 1996,2001,2004,2006,2007,2010,2011
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -57,7 +58,7 @@ static void
init (void)
{
int saved_errno = errno;
- FILE *fp = fopen (default_nss, "rc");
+ FILE *fp = fopen (default_nss, "rce");
if (fp != NULL)
{
char *line = NULL;