about summary refs log tree commit diff
path: root/nis
diff options
context:
space:
mode:
Diffstat (limited to 'nis')
-rw-r--r--nis/rpcsvc/yp_prot.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/nis/rpcsvc/yp_prot.h b/nis/rpcsvc/yp_prot.h
index 0c5a7101f7..42bc54c59d 100644
--- a/nis/rpcsvc/yp_prot.h
+++ b/nis/rpcsvc/yp_prot.h
@@ -160,11 +160,11 @@ struct ypresp_key_val {
      implementation somehow must change the order internally.  We
      don't want to follow this bad example since the user should be
      able to use rpcgen on this file.  */
-  keydat key;
-  valdat val;
+  keydat keydat;
+  valdat valdat;
 #else
-  valdat val;
-  keydat key;
+  valdat valdat;
+  keydat keydat;
 #endif
 };