aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2013-03-05 14:48:28 +0100
committerBjörn-Egil Dahlberg <[email protected]>2013-03-05 14:48:28 +0100
commit8863da254d951d1937c6a6a5ef55228be174eced (patch)
tree4f1bef84c37baf16f881a68a61b220921aa4ae1a /erts
parent8183fcfb059794823a8289456d68b20a80d9a1b4 (diff)
downloadotp-8863da254d951d1937c6a6a5ef55228be174eced.tar.gz
otp-8863da254d951d1937c6a6a5ef55228be174eced.tar.bz2
otp-8863da254d951d1937c6a6a5ef55228be174eced.zip
erts: Fix refactor error in mseg
Faulty number of arguments to mseg_dealloc. Problem arises if we try to compile halfword on operating system which do not have mremap. Not a supported case.
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/sys/common/erl_mseg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/sys/common/erl_mseg.c b/erts/emulator/sys/common/erl_mseg.c
index bd8ba82a5f..5612f57e20 100644
--- a/erts/emulator/sys/common/erl_mseg.c
+++ b/erts/emulator/sys/common/erl_mseg.c
@@ -1028,7 +1028,7 @@ mseg_realloc(ErtsMsegAllctr_t *ma, ErtsAlcType_t atype, void *seg,
sys_memcpy(((char *) new_seg),
((char *) seg),
MIN(new_size, old_size));
- mseg_dealloc(ma, atype, seg, old_size, opt);
+ mseg_dealloc(ma, atype, seg, old_size, flags, opt);
}
#endif
}