From 4b15c06830f04102a6a85165531240d34b1b944a Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Tue, 29 Apr 1997 08:43:52 +0000 Subject: [PATCH] Fix so that amd can build with hesiod support. Submitted by: Kevin Van Maren --- usr.sbin/amd/amd/Makefile | 1 + usr.sbin/amd/amd/info_hes.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.sbin/amd/amd/Makefile b/usr.sbin/amd/amd/Makefile index 082d0b49ab9d..deb64ca98483 100644 --- a/usr.sbin/amd/amd/Makefile +++ b/usr.sbin/amd/amd/Makefile @@ -23,6 +23,7 @@ CFLAGS+=-DOS_REP=\"${OS}\" CFLAGS+=-DOS_HDR=\"os-${OS}.h\" CFLAGS+=${CONFIG} CFLAGS+=-D_NEW_VFSCONF +LDADD= ${XLIBDIR} ${RESOLV} CLEANFILES+=vers.${PROG}.c vers.${PROG}.o version.amd CLEANFILES+=mount.h mount_xdr.c nfs_prot.h nfs_prot_xdr.c nfs_prot_svc.c RPCCOM = rpcgen diff --git a/usr.sbin/amd/amd/info_hes.c b/usr.sbin/amd/amd/info_hes.c index 954a41413e99..10ad21f40f95 100644 --- a/usr.sbin/amd/amd/info_hes.c +++ b/usr.sbin/amd/amd/info_hes.c @@ -37,7 +37,7 @@ * * @(#)info_hes.c 8.1 (Berkeley) 6/6/93 * - * $Id$ + * $Id: info_hes.c,v 1.4 1997/02/22 16:01:31 peter Exp $ * */ @@ -107,7 +107,7 @@ time_t *tp; * Do a Hesiod nameserver call. * Modify time is ignored by Hesiod - XXX */ -int hesiod_search P((mnt_map *m, char *map, char **pval, time_t *tp)); +int hesiod_search P((mnt_map *m, char *map, char *key, char **pval, time_t *tp)); int hesiod_search(m, map, key, pval, tp) mnt_map *m; char *map;