From 33226f2d76b6b7a06df6b76abbb3526100f5ae2d Mon Sep 17 00:00:00 2001 From: Wlodek Wencel Date: Tue, 8 Mar 2022 10:24:40 +0100 Subject: [#231] typo fix --- common/tests/option_unittest.c | 2 +- dhcpctl/dhcpctl.3 | 4 ++-- dhcpctl/dhcpctl.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/tests/option_unittest.c b/common/tests/option_unittest.c index cfa1b10d..600ebe60 100644 --- a/common/tests/option_unittest.c +++ b/common/tests/option_unittest.c @@ -134,7 +134,7 @@ ATF_TC(parse_X); ATF_TC_HEAD(parse_X, tc) { atf_tc_set_md_var(tc, "descr", - "Verify parse_X survices option too big."); + "Verify parse_X services option too big."); } /* Initializes a parse struct from an input buffer of data. */ diff --git a/dhcpctl/dhcpctl.3 b/dhcpctl/dhcpctl.3 index 48fd728c..5005ab34 100644 --- a/dhcpctl/dhcpctl.3 +++ b/dhcpctl/dhcpctl.3 @@ -268,7 +268,7 @@ authenticator has been created for the connection, then it is given as the 4th argument. On a successful return the address pointed at by the first argument will have a new connection object assigned to it. How long the function waits for complete the connection is dictated by the value -of the parameter, \fBtimeout\fR. If the value is null, it will wait indefinetly +of the parameter, \fBtimeout\fR. If the value is null, it will wait indefinitely Otherwise it will wait for the amount of time specified by \fBtimeout\fR (tv_sec:tv_usec). Values of zero for both fields are valid but not recommended. An example is shown below: @@ -333,7 +333,7 @@ to the server is lost. .Fn dhcpctl_timed_wait_for_completion flushes a pending message to the server and waits for the response. How long the function waits for a response is dictated by the value of the third -parameter, \fBtimeout\fR. If the value is null, it will wait indefinetly or +parameter, \fBtimeout\fR. If the value is null, it will wait indefinitely or until the connection is lost. Otherwise it will wait for the amount of time specified by \fBtimeout\fR (tv_sec:tv_usec). Values of zero for both fields are valid but not recommended. The result of the request as processed on the diff --git a/dhcpctl/dhcpctl.c b/dhcpctl/dhcpctl.c index cb84b4e0..07b55514 100644 --- a/dhcpctl/dhcpctl.c +++ b/dhcpctl/dhcpctl.c @@ -155,7 +155,7 @@ dhcpctl_status dhcpctl_connect (dhcpctl_handle *connection, information. How long the function waits for the connection to complete is dictated by the value of the parameter, t. If the value is nul, - it will wait indefinetly. Otherwise it will wait for the amount + it will wait indefinitely. Otherwise it will wait for the amount of time specified by t (tv_sec:tv_usec). Values of zero for both fields are valid but not recommended. */ dhcpctl_status dhcpctl_timed_connect (dhcpctl_handle *connection, @@ -235,7 +235,7 @@ dhcpctl_status dhcpctl_wait_for_completion (dhcpctl_handle h, will also be either zero for success or nonzero for some kind of failure. How long the function waits for a response is dictated by the value of the parameter, t. If the value is nul, - it will wait indefinetly or until the connection is lost. + it will wait indefinitely or until the connection is lost. Otherwise it will wait for the amount of time specified by t (tv_sec:tv_usec). Values of zero for both fields are valid but not recommended. The result of the request as processed on the -- cgit v1.2.1