diff options
-rw-r--r-- | libc/ChangeLog.eglibc | 4 | ||||
-rw-r--r-- | libc/nss/nsswitch.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libc/ChangeLog.eglibc b/libc/ChangeLog.eglibc index 325da43a9..b7e6520f2 100644 --- a/libc/ChangeLog.eglibc +++ b/libc/ChangeLog.eglibc @@ -1,3 +1,7 @@ +2012-05-26 Joseph Myers <joseph@codesourcery.com> + + * nss/nsswitch.c (__nss_database_lookup): Update for last merge. + 2012-03-28 Joseph Myers <joseph@codesourcery.com> * posix/cross-getconf.c (cross_getconf): Update after last merge. diff --git a/libc/nss/nsswitch.c b/libc/nss/nsswitch.c index 0614b526a..853eb28f0 100644 --- a/libc/nss/nsswitch.c +++ b/libc/nss/nsswitch.c @@ -192,7 +192,7 @@ __nss_database_lookup (const char *database, const char *alternate_name, { entry->next = defconfig_entries; entry->service = *ni; - entry->name[0] = '\0'; + entry->name = ""; defconfig_entries = entry; } } |