From: Hugo Lefeuvre Date: Wed, 26 Feb 2020 15:32:20 +0000 (+0100) Subject: patches: fix typo in atomic_compare_exchange_strong_explicit X-Git-Tag: RELEASE-0.5~13 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=d60ccaad57bc5b26550db419e0f90f537965187d;p=unikraft%2Flibs%2Fnewlib.git 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 Reviewed-by: Sharan Santhanam --- 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)); \ + })