[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT/NEWLIB PATCH] patches: fix typo in atomic_compare_exchange_strong_explicit



Fix 'expeced' typo. This breaks builds relying on
atomic_compare_exchange_strong_explicit.

Signed-off-by: Hugo Lefeuvre <hugo.lefeuvre@xxxxxxxxx>
---
 patches/0009-stdatomic.h-Fix-atomic_-definitions.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/patches/0009-stdatomic.h-Fix-atomic_-definitions.patch 
b/patches/0009-stdatomic.h-Fix-atomic_-definitions.patch
index 6cb8a82..2553e42 100644
--- a/patches/0009-stdatomic.h-Fix-atomic_-definitions.patch
+++ b/patches/0009-stdatomic.h-Fix-atomic_-definitions.patch
@@ -34,7 +34,7 @@ index 09c0cf7..daa1969 100644
 +      __auto_type __atomic_compare_exchange_ptr = (object);                   
        \
 +      __typeof__ (*__atomic_compare_exchange_ptr) 
__atomic_compare_exchange_tmp       \
 +      = (desired);                                                            
        \
-+      __atomic_compare_exchange (__atomic_compare_exchange_ptr, (expeced),    
        \
++      __atomic_compare_exchange (__atomic_compare_exchange_ptr, (expected),   
        \
 +              &__atomic_compare_exchange_tmp,                                 
        \
 +              0, (success), (failure));                                       
        \
 +  })
-- 
2.7.4


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.