diff options
Diffstat (limited to 'nis/nis_add.c')
-rw-r--r-- | nis/nis_add.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nis/nis_add.c b/nis/nis_add.c index 6e11f17ff6..e358ea4987 100644 --- a/nis/nis_add.c +++ b/nis/nis_add.c @@ -41,7 +41,7 @@ nis_add (const_nis_name name, const nis_object *obj) p1 = req.ns_object.ns_object_val[0].zo_name; req.ns_object.ns_object_val[0].zo_name = - nis_name_of_r (name, buf1, sizeof (buf1)); + nis_leaf_of_r (name, buf1, sizeof (buf1)); p2 = req.ns_object.ns_object_val[0].zo_owner; if (p2 == NULL || strlen (p2) == 0) |