summary refs log tree commit diff
path: root/nis/nis_verifygroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'nis/nis_verifygroup.c')
-rw-r--r--nis/nis_verifygroup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nis/nis_verifygroup.c b/nis/nis_verifygroup.c
index be65120ae8..6d3ec7b7b7 100644
--- a/nis/nis_verifygroup.c
+++ b/nis/nis_verifygroup.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 1997 Free Software Foundation, Inc.
+/* Copyright (c) 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997.
 
@@ -41,7 +41,7 @@ nis_verifygroup (const_nis_name group)
 	  stpcpy (cp, cp2);
 	}
       res = nis_lookup (buf, 0);
-      status = res->status;
+      status = NIS_RES_STATUS (res);
       nis_freeresult (res);
       return status;
     }