Fix compiler warnings.

This commit is contained in:
Hiroki Sato 2013-07-15 05:09:13 +00:00
parent a78deafaaa
commit 47d9f3f4c7
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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);