summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMats O Jansson <maja@cvs.openbsd.org>1998-01-12 20:45:20 +0000
committerMats O Jansson <maja@cvs.openbsd.org>1998-01-12 20:45:20 +0000
commit7457ca1fa25783fdd0612e3cc9529b1d0b6c962f (patch)
tree2fd97f7c362d5bded530ba331097a1a107d73a89
parent2b1aeef8c093e34b96e76d668cdeb42b2e8e9cf0 (diff)
Fix bug in yp_maplist_host. -moj
-rw-r--r--usr.sbin/ypserv/common/yplib_host.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ypserv/common/yplib_host.c b/usr.sbin/ypserv/common/yplib_host.c
index 0672eb0a4bb..40ad46ce540 100644
--- a/usr.sbin/ypserv/common/yplib_host.c
+++ b/usr.sbin/ypserv/common/yplib_host.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: yplib_host.c,v 1.7 1997/06/23 01:11:12 deraadt Exp $ */
+/* $OpenBSD: yplib_host.c,v 1.8 1998/01/12 20:45:19 maja Exp $ */
/*
* Copyright (c) 1992, 1993 Theo de Raadt <deraadt@theos.com>
@@ -32,7 +32,7 @@
*/
#ifndef LINT
-static char *rcsid = "$OpenBSD: yplib_host.c,v 1.7 1997/06/23 01:11:12 deraadt Exp $";
+static char *rcsid = "$OpenBSD: yplib_host.c,v 1.8 1998/01/12 20:45:19 maja Exp $";
#endif
#include <sys/param.h>
@@ -393,7 +393,7 @@ struct ypmaplist **outmaplist;
memset(&ypml, 0, sizeof ypml);
r = clnt_call(client, YPPROC_MAPLIST,
- xdr_domainname, indomain, xdr_ypresp_maplist, &ypml, tv);
+ xdr_domainname, &indomain, xdr_ypresp_maplist, &ypml, tv);
if (r != RPC_SUCCESS) {
clnt_perror(client, "yp_maplist: clnt_call");
}