summaryrefslogtreecommitdiff
path: root/elf/ldconfig.c
diff options
context:
space:
mode:
authorAndreas Jaeger <jaegerandi@gmail.com>2012-05-09 06:08:28 +0200
committerAndreas Jaeger <jaegerandi@gmail.com>2012-05-09 06:08:28 +0200
commit1db86e88458d3f9cd159cebbda7f773ba29bacb2 (patch)
tree23439c7a3fd8cc3a7d56d81ab73e49becb18833e /elf/ldconfig.c
parentee0db19075ebc3428291934df429365a5abaea47 (diff)
Make ldconfig message clearer
[BZ #13983] Let not confuse the user and think there's an error instead of a warning.
Diffstat (limited to 'elf/ldconfig.c')
-rw-r--r--elf/ldconfig.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/elf/ldconfig.c b/elf/ldconfig.c
index aa97213cc2..8d6e77f8ec 100644
--- a/elf/ldconfig.c
+++ b/elf/ldconfig.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999-2011, 2012 Free Software Foundation, Inc.
+/* Copyright (C) 1999-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 1999.
@@ -1061,7 +1061,9 @@ parse_conf (const char *filename, bool do_chroot)
if (file == NULL)
{
- error (0, errno, _("Can't open configuration file %s"), canon);
+ error (0, errno, _("\
+Warning: ignoring configuration file that cannot be opened: %s"),
+ canon);
if (canon != filename)
free ((char *) canon);
return;