summaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-04-24 22:00:42 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-04-24 22:00:42 +0000
commitc1634fcf8c5c56fc95bf3aca85cb8e605ca4737e (patch)
tree4cade45c804e1a0726ac7bd81db004004c91b803 /usr.sbin/ypserv
parent962dfc4e070294dfaf64445cbca5deadb0c32225 (diff)
use yp.h instead of yp_prot.h
Diffstat (limited to 'usr.sbin/ypserv')
-rw-r--r--usr.sbin/ypserv/yptest/yptest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ypserv/yptest/yptest.c b/usr.sbin/ypserv/yptest/yptest.c
index 6cdc6abdd35..4e16ca78885 100644
--- a/usr.sbin/ypserv/yptest/yptest.c
+++ b/usr.sbin/ypserv/yptest/yptest.c
@@ -28,7 +28,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$Id: yptest.c,v 1.2 1996/01/20 00:37:58 chuck Exp $";
+static char rcsid[] = "$Id: yptest.c,v 1.3 1996/04/24 22:00:41 deraadt Exp $";
#endif
#include <stdio.h>
@@ -36,7 +36,7 @@ static char rcsid[] = "$Id: yptest.c,v 1.2 1996/01/20 00:37:58 chuck Exp $";
#include <strings.h>
#include <rpc/rpc.h>
#include <rpc/xdr.h>
-#include <rpcsvc/yp_prot.h>
+#include <rpcsvc/yp.h>
#include <rpcsvc/ypclnt.h>
static int
@@ -101,8 +101,8 @@ main()
case 0:
for(y=ypml; y; ) {
ypml=y;
- printf("%s\n",ypml->ypml_name);
- y=ypml->ypml_next;
+ printf("%s\n",ypml->map);
+ y=ypml->next;
}
}