diff options
author | John Högberg <[email protected]> | 2018-03-05 12:55:13 +0100 |
---|---|---|
committer | John Högberg <[email protected]> | 2018-03-09 08:34:22 +0100 |
commit | 4d4629605ab7d3c3a5268502dadcf639151d6c42 (patch) | |
tree | 78e8d2f9bdea7cd08053be0df26099e88a784fbb /erts/emulator/beam/external.c | |
parent | ca9e3cea6cfdad0d99dcef149cb0ba1d1e1e98f2 (diff) | |
download | otp-4d4629605ab7d3c3a5268502dadcf639151d6c42.tar.gz otp-4d4629605ab7d3c3a5268502dadcf639151d6c42.tar.bz2 otp-4d4629605ab7d3c3a5268502dadcf639151d6c42.zip |
Always use sys_memcpy/cmp/etc instead of plain memcpy/cmp/etc
Diffstat (limited to 'erts/emulator/beam/external.c')
-rw-r--r-- | erts/emulator/beam/external.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/external.c b/erts/emulator/beam/external.c index b12a021e41..a5d752a3d0 100644 --- a/erts/emulator/beam/external.c +++ b/erts/emulator/beam/external.c @@ -1953,7 +1953,7 @@ static Eterm erts_term_to_binary_int(Process* p, Eterm Term, int level, Uint fla context_b = erts_create_magic_binary(sizeof(TTBContext), \ ttb_context_destructor); \ context = ERTS_MAGIC_BIN_DATA(context_b); \ - memcpy(context,&c_buff,sizeof(TTBContext)); \ + sys_memcpy(context,&c_buff,sizeof(TTBContext)); \ } \ } while (0) |