diff options
Diffstat (limited to 'nis/nis_addmember.c')
-rw-r--r-- | nis/nis_addmember.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nis/nis_addmember.c b/nis/nis_addmember.c index f7d7f16607..89e7affee1 100644 --- a/nis/nis_addmember.c +++ b/nis/nis_addmember.c @@ -32,7 +32,7 @@ nis_addmember (const_nis_name member, const_nis_name group) nis_error status; char *cp, *cp2; - cp = rawmemchr (nis_leaf_of_r (group, buf, sizeof (buf) - 1), '\0'); + cp = strchr (nis_leaf_of_r (group, buf, sizeof (buf) - 1), '\0'); cp = stpcpy (cp, ".groups_dir"); cp2 = nis_domain_of_r (group, domainbuf, sizeof (domainbuf) - 1); if (cp2 != NULL && cp2[0] != '\0') |