aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/break.c
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-03-12 11:38:30 +0100
committerJohn Högberg <[email protected]>2018-03-12 11:38:30 +0100
commit2960c7d08932b718dc93773e0718cd214277e09d (patch)
tree93e755c0f61d3ba73fe0d3c866e23355a82059ca /erts/emulator/beam/break.c
parent0217dbfee505ed8c88164c7a4ea5e1834e6ce8cd (diff)
parent4d4629605ab7d3c3a5268502dadcf639151d6c42 (diff)
downloadotp-2960c7d08932b718dc93773e0718cd214277e09d.tar.gz
otp-2960c7d08932b718dc93773e0718cd214277e09d.tar.bz2
otp-2960c7d08932b718dc93773e0718cd214277e09d.zip
Merge branch 'john/erts/assert-on-memcpy-memset-etc'
* john/erts/assert-on-memcpy-memset-etc: Always use sys_memcpy/cmp/etc instead of plain memcpy/cmp/etc Check the arguments to sys_memcpy and friends
Diffstat (limited to 'erts/emulator/beam/break.c')
-rw-r--r--erts/emulator/beam/break.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/break.c b/erts/emulator/beam/break.c
index b9b70cd8ef..fe0ec1925b 100644
--- a/erts/emulator/beam/break.c
+++ b/erts/emulator/beam/break.c
@@ -509,7 +509,7 @@ do_break(void)
/* check if we're in console mode and, if so,
halt immediately if break is called */
mode = erts_read_env("ERL_CONSOLE_MODE");
- if (mode && strcmp(mode, "window") != 0)
+ if (mode && sys_strcmp(mode, "window") != 0)
erts_exit(0, "");
erts_free_read_env(mode);
#endif /* __WIN32__ */