diff options
author | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2007-01-15 00:45:23 +0000 |
---|---|---|
committer | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2007-01-15 00:45:23 +0000 |
commit | 4fa8118022b19670c3f2a6f3dbc4d7b6b7df063c (patch) | |
tree | dd5d3b906d86c19a009739f46c6d5bbfd05e87b7 /libc/nscd/nscd_conf.c | |
parent | 165be16219a0f9ad296f68fd805252e18c05e971 (diff) | |
download | eglibc2-4fa8118022b19670c3f2a6f3dbc4d7b6b7df063c.tar.gz |
Merge changes between r1147 and r1192 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@1193 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/nscd/nscd_conf.c')
-rw-r--r-- | libc/nscd/nscd_conf.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libc/nscd/nscd_conf.c b/libc/nscd/nscd_conf.c index 2048eca88..e724c6bd5 100644 --- a/libc/nscd/nscd_conf.c +++ b/libc/nscd/nscd_conf.c @@ -1,4 +1,4 @@ -/* Copyright (c) 1998,2000,2003,2004,2005,2006 Free Software Foundation, Inc. +/* Copyright (c) 1998, 2000, 2003-2006, 2007 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Thorsten Kukuk <kukuk@suse.de>, 1998. @@ -37,11 +37,12 @@ extern char *xstrdup (const char *s); /* Names of the databases. */ -const char *dbnames[lastdb] = +const char *const dbnames[lastdb] = { [pwddb] = "passwd", [grpdb] = "group", - [hstdb] = "hosts" + [hstdb] = "hosts", + [servdb] = "services" }; @@ -52,7 +53,7 @@ find_db (const char *name) if (strcmp (name, dbnames[cnt]) == 0) return cnt; - error (0, 0, _("database %s is not supported\n"), name); + error (0, 0, _("database %s is not supported"), name); return -1; } |