diff options
author | hrs <hrs@FreeBSD.org> | 2013-07-15 05:09:13 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2013-07-15 05:09:13 +0000 |
commit | 1a49123d7477a3a956dfa33644d7f1483b56dbc2 (patch) | |
tree | 403f09a91fd8f687124abc262a6f0fe993841c2d | |
parent | 83587b30a5fe973d27de8c002d1ee93e982a38f1 (diff) | |
download | FreeBSD-src-1a49123d7477a3a956dfa33644d7f1483b56dbc2.zip FreeBSD-src-1a49123d7477a3a956dfa33644d7f1483b56dbc2.tar.gz |
Fix compiler warnings.
-rw-r--r-- | usr.sbin/ypserv/yp_access.c | 4 | ||||
-rw-r--r-- | usr.sbin/ypserv/yp_dnslookup.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/ypserv/yp_access.c b/usr.sbin/ypserv/yp_access.c index c0e4804..c82f8c7 100644 --- a/usr.sbin/ypserv/yp_access.c +++ b/usr.sbin/ypserv/yp_access.c @@ -97,6 +97,10 @@ struct securenet *securenets; #define LINEBUFSZ 1024 +#ifdef TCP_WRAPPER +int hosts_ctl(char *, char *, char *, char *); +#endif + /* * Read /var/yp/securenets file and initialize the securenets * list. If the file doesn't exist, we set up a dummy entry that diff --git a/usr.sbin/ypserv/yp_dnslookup.c b/usr.sbin/ypserv/yp_dnslookup.c index 4ea6a13..dfb5594 100644 --- a/usr.sbin/ypserv/yp_dnslookup.c +++ b/usr.sbin/ypserv/yp_dnslookup.c @@ -456,7 +456,7 @@ yp_async_lookup_name(struct svc_req *rqstp, char *name, int af) pending++; if (debug) - yp_error("queueing async DNS name lookup (%d)", q->id); + yp_error("queueing async DNS name lookup (%lu)", q->id); yp_prune_dnsq(); return(YP_TRUE); @@ -544,7 +544,7 @@ yp_async_lookup_addr(struct svc_req *rqstp, char *addr, int af) pending++; if (debug) - yp_error("queueing async DNS address lookup (%d)", q->id); + yp_error("queueing async DNS address lookup (%lu)", q->id); yp_prune_dnsq(); return(YP_TRUE); |