mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 08:38:38 +08:00
Fix ordering of parameters in call to memmove() in strings.h. Noted by David Sidrane.
This commit is contained in:
parent
ea5d7810f6
commit
fb0e4d66c0
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ static inline int bcmp(FAR const void *b1, FAR const void *b2, size_t len)
|
|||
|
||||
static inline void bcopy(FAR const void *b1, FAR void *b2, size_t len)
|
||||
{
|
||||
(void)memmove(b1, b2, len);
|
||||
(void)memmove(b2, b1, len);
|
||||
}
|
||||
|
||||
#ifndef CONFIG_LIBC_ARCH_BZERO
|
||||
|
|
Loading…
Reference in a new issue