about summary refs log tree commit diff
path: root/nis/nis_creategroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'nis/nis_creategroup.c')
-rw-r--r--nis/nis_creategroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nis/nis_creategroup.c b/nis/nis_creategroup.c
index a96d67d29c..8333e09c89 100644
--- a/nis/nis_creategroup.c
+++ b/nis/nis_creategroup.c
@@ -62,7 +62,7 @@ nis_creategroup (const_nis_name group, u_long flags)
       res = nis_add (buf, obj);
       if (res == NULL)
 	return NIS_NOMEMORY;
-      status = res->status;
+      status = NIS_RES_STATUS (res);
       nis_freeresult (res);
       nis_free_object (obj);