summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-07-20 19:51:37 +0000
committerobrien <obrien@FreeBSD.org>2000-07-20 19:51:37 +0000
commit982ec76a86023feaadbe998491943a854f0c8e42 (patch)
tree2dc5f8932cd314cb39dcaf9076592f5798f648bf /contrib
parent1948548eeed3c7bc37ba98998755426eb3c4bef7 (diff)
downloadFreeBSD-src-982ec76a86023feaadbe998491943a854f0c8e42.zip
FreeBSD-src-982ec76a86023feaadbe998491943a854f0c8e42.tar.gz
Fix vendor bogon where one of dhcp_option_ev_name()'s formal parameter
types did not match the prototype. (Note: this is one bug that an Ada compiler would have found as when you typedef a new type, the new type is not assignment compatabile with the type used to make it up. C should only be so featureful.)
Diffstat (limited to 'contrib')
-rw-r--r--contrib/isc-dhcp/client/dhclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/isc-dhcp/client/dhclient.c b/contrib/isc-dhcp/client/dhclient.c
index 350ba0f..01e87b2 100644
--- a/contrib/isc-dhcp/client/dhclient.c
+++ b/contrib/isc-dhcp/client/dhclient.c
@@ -2173,7 +2173,7 @@ void client_envadd (struct client_state *client,
int dhcp_option_ev_name (buf, buflen, option)
char *buf;
- unsigned buflen;
+ size_t buflen;
struct option *option;
{
int i;
OpenPOWER on IntegriCloud