Fix compiler warnings.
This commit is contained in:
parent
a78deafaaa
commit
47d9f3f4c7
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user