aboutsummaryrefslogtreecommitdiff
path: root/nscd/nscd.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-08-24 06:37:27 +0000
committerUlrich Drepper <drepper@redhat.com>2005-08-24 06:37:27 +0000
commit4fb5ab741ac5b498fd0591d82b5d225abac7b8ce (patch)
treeb067640777bfc96b8da88c8277101a47771ba7db /nscd/nscd.c
parent8558d715d0dc104832c65f52e14158d0c606f3a1 (diff)
downloadglibc-4fb5ab741ac5b498fd0591d82b5d225abac7b8ce.zip
glibc-4fb5ab741ac5b498fd0591d82b5d225abac7b8ce.tar.gz
glibc-4fb5ab741ac5b498fd0591d82b5d225abac7b8ce.tar.bz2
* nscd/nscd.c (main): Use error while process isn't running in thecvs/fedora-glibc-20050829T1854cvs/fedora-glibc-20050824T0705
background, not dbg_log. * nscd/nscd_conf.c (nscd_parse_file): Likewise. Mark messages with _(). Unify testing for database name. * sysdeps/unix/sysv/linux/Versions: Export inotify_* syscalls.
Diffstat (limited to 'nscd/nscd.c')
-rw-r--r--nscd/nscd.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/nscd/nscd.c b/nscd/nscd.c
index c16152c..f96f44e 100644
--- a/nscd/nscd.c
+++ b/nscd/nscd.c
@@ -150,12 +150,10 @@ main (int argc, char **argv)
/* Read the configuration file. */
if (nscd_parse_file (conffile, dbs) != 0)
- {
- /* We couldn't read the configuration file. We don't start the
- server. */
- dbg_log (_("cannot read configuration file; this is fatal"));
- exit (1);
- }
+ /* We couldn't read the configuration file. We don't start the
+ server. */
+ error (EXIT_FAILURE, 0,
+ _("failure while reading configuration file; this is fatal"));
/* Do we only get statistics? */
if (get_stats)