From: deraadt Date: Wed, 24 Apr 1996 22:00:41 +0000 (+0000) Subject: use yp.h instead of yp_prot.h X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b700c3ecf7c803237372fdbfb1fad723b40d29ec;p=openbsd use yp.h instead of yp_prot.h --- 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 @@ -36,7 +36,7 @@ static char rcsid[] = "$Id: yptest.c,v 1.2 1996/01/20 00:37:58 chuck Exp $"; #include #include #include -#include +#include #include 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; } }