diff mbox series

[libgpiod] bindings: cxx: examples: fix typo in comment

Message ID 20240309103041.168095-1-warthog618@gmail.com
State New
Headers show
Series [libgpiod] bindings: cxx: examples: fix typo in comment | expand

Commit Message

Kent Gibson March 9, 2024, 10:30 a.m. UTC
Fix typo in comment in watch_multiple_line_values.cpp.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
---
 bindings/cxx/examples/watch_multiple_line_values.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bartosz Golaszewski March 10, 2024, 6:47 p.m. UTC | #1
On Sat, Mar 9, 2024 at 11:30 AM Kent Gibson <warthog618@gmail.com> wrote:
>
> Fix typo in comment in watch_multiple_line_values.cpp.
>
> Signed-off-by: Kent Gibson <warthog618@gmail.com>
> ---
>  bindings/cxx/examples/watch_multiple_line_values.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/bindings/cxx/examples/watch_multiple_line_values.cpp b/bindings/cxx/examples/watch_multiple_line_values.cpp
> index fb71fb2..ea78667 100644
> --- a/bindings/cxx/examples/watch_multiple_line_values.cpp
> +++ b/bindings/cxx/examples/watch_multiple_line_values.cpp
> @@ -46,7 +46,7 @@ int main()
>         ::gpiod::edge_event_buffer buffer;
>
>         for (;;) {
> -               /* Blocks until at leat one event available */
> +               /* Blocks until at least one event available */
>                 request.read_edge_events(buffer);
>
>                 for (const auto &event : buffer)
> --
> 2.39.2
>

Applied, thanks!

Bart
diff mbox series

Patch

diff --git a/bindings/cxx/examples/watch_multiple_line_values.cpp b/bindings/cxx/examples/watch_multiple_line_values.cpp
index fb71fb2..ea78667 100644
--- a/bindings/cxx/examples/watch_multiple_line_values.cpp
+++ b/bindings/cxx/examples/watch_multiple_line_values.cpp
@@ -46,7 +46,7 @@  int main()
 	::gpiod::edge_event_buffer buffer;
 
 	for (;;) {
-		/* Blocks until at leat one event available */
+		/* Blocks until at least one event available */
 		request.read_edge_events(buffer);
 
 		for (const auto &event : buffer)