diff options
| author | jvoisin | 2023-09-30 19:24:02 +0200 |
|---|---|---|
| committer | jvoisin | 2023-09-30 19:24:02 +0200 |
| commit | 160298c6fb4c5151ef58ef1556ae2c271d8a9a9e (patch) | |
| tree | fcd63f774ac250d3a7e456864ff18693cb6c9013 /include/string.h | |
| parent | a2745278eb03d63f4df8da4367f27ec8cab7deb9 (diff) | |
Fix a typo
Diffstat (limited to 'include/string.h')
| -rw-r--r-- | include/string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/string.h b/include/string.h index ab7ac43..a41c669 100644 --- a/include/string.h +++ b/include/string.h | |||
| @@ -73,7 +73,7 @@ _FORTIFY_FN(memmove) void *memmove(void * _FORTIFY_POS0 __d, | |||
| 73 | const void * _FORTIFY_POS0 __s, size_t __n) | 73 | const void * _FORTIFY_POS0 __s, size_t __n) |
| 74 | { | 74 | { |
| 75 | #if __has_builtin(__builtin___memmove_chk) && USE_NATIVE_CHK | 75 | #if __has_builtin(__builtin___memmove_chk) && USE_NATIVE_CHK |
| 76 | return __builtin___memcpy_chk(__d, __s, __n, __bos(__d, 0)); | 76 | return __builtin___memmove_chk(__d, __s, __n, __bos(__d, 0)); |
| 77 | #else | 77 | #else |
| 78 | size_t __bd = __bos(__d, 0); | 78 | size_t __bd = __bos(__d, 0); |
| 79 | size_t __bs = __bos(__s, 0); | 79 | size_t __bs = __bos(__s, 0); |
