From 1db86e88458d3f9cd159cebbda7f773ba29bacb2 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 9 May 2012 06:08:28 +0200 Subject: Make ldconfig message clearer [BZ #13983] Let not confuse the user and think there's an error instead of a warning. --- elf/ldconfig.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'elf/ldconfig.c') 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 , 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; -- cgit v1.2.3