manual: Fix typo

Message ID 20201005163452.GA159629@redhat.com
State Committed
Commit 5bb2e5300b9b7cf1b8b7f2cbcbfca4d4a529082d
Headers
Series manual: Fix typo |

Commit Message

Jonathan Wakely Oct. 5, 2020, 4:34 p.m. UTC
  ---
 manual/threads.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Florian Weimer Oct. 5, 2020, 4:36 p.m. UTC | #1
* Jonathan Wakely via Libc-alpha:

> ---
>  manual/threads.texi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/manual/threads.texi b/manual/threads.texi
> index 4ab0622443..5bcfe32d6a 100644
> --- a/manual/threads.texi
> +++ b/manual/threads.texi
> @@ -896,7 +896,7 @@ Model Aware Atomic Operations, gcc, Using the GNU Compiler Collection
>  
>  @smallexample
>  if (__libc_single_threaded)
> -  ++refeference_count;
> +  ++reference_count;

Thanks, looks fine.

Florian
  

Patch

diff --git a/manual/threads.texi b/manual/threads.texi
index 4ab0622443..5bcfe32d6a 100644
--- a/manual/threads.texi
+++ b/manual/threads.texi
@@ -896,7 +896,7 @@  Model Aware Atomic Operations, gcc, Using the GNU Compiler Collection
 
 @smallexample
 if (__libc_single_threaded)
-  ++refeference_count;
+  ++reference_count;
 else
   __atomic_fetch_add (&reference_count, 1, __ATOMIC_ACQ_REL);
 @end smallexample