diff options
Diffstat (limited to 'nss/nss_files/files-sgrp.c')
-rw-r--r-- | nss/nss_files/files-sgrp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nss/nss_files/files-sgrp.c b/nss/nss_files/files-sgrp.c index 4e12cd83d4..684bacc3d0 100644 --- a/nss/nss_files/files-sgrp.c +++ b/nss/nss_files/files-sgrp.c @@ -1,5 +1,5 @@ /* User file parser in nss_files module. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009, 2011 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -30,7 +30,7 @@ struct sgent_data {}; #include "files-parse.c" #include GENERIC -DB_LOOKUP (sgnam, 1 + strlen (name), (".%s", name), +DB_LOOKUP (sgnam, '.', 0, ("%s", name), { if (name[0] != '+' && name[0] != '-' && ! strcmp (name, result->sg_namp)) |