aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2013-04-04 17:53:56 +0200
committerErlang/OTP <[email protected]>2013-04-04 17:53:56 +0200
commitd0e476746a4ce505bceab5a504a4c3e8fc06797a (patch)
tree03df63d60516e8a9af0f0ad8fc814d3942fce43b /erts/emulator
parent858f7b67cd0ecb60f10054de8049d7e1a250bd25 (diff)
parenta04209acfa6b0a691437d35b284268d093d7e2b1 (diff)
downloadotp-d0e476746a4ce505bceab5a504a4c3e8fc06797a.tar.gz
otp-d0e476746a4ce505bceab5a504a4c3e8fc06797a.tar.bz2
otp-d0e476746a4ce505bceab5a504a4c3e8fc06797a.zip
Merge branch 'rickard/sys-flags/OTP-11000' into maint-r16
* rickard/sys-flags/OTP-11000: Fix `+sws' and `+swt' system flags
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/erl_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_init.c b/erts/emulator/beam/erl_init.c
index 86adc5bc99..e6a96d427f 100644
--- a/erts/emulator/beam/erl_init.c
+++ b/erts/emulator/beam/erl_init.c
@@ -1425,7 +1425,7 @@ erl_start(int argc, char **argv)
VERBOSE(DEBUG_SYSTEM,
("scheduler wake cleanup threshold: %s\n", arg));
}
- else if (sys_strcmp("wt", sub_param) == 0) {
+ else if (has_prefix("wt", sub_param)) {
arg = get_arg(sub_param+2, argv[i+1], &i);
if (erts_sched_set_wakeup_other_thresold(arg) != 0) {
erts_fprintf(stderr, "scheduler wakeup threshold: %s\n",
@@ -1435,7 +1435,7 @@ erl_start(int argc, char **argv)
VERBOSE(DEBUG_SYSTEM,
("scheduler wakeup threshold: %s\n", arg));
}
- else if (sys_strcmp("ws", sub_param) == 0) {
+ else if (has_prefix("ws", sub_param)) {
arg = get_arg(sub_param+2, argv[i+1], &i);
if (erts_sched_set_wakeup_other_type(arg) != 0) {
erts_fprintf(stderr, "scheduler wakeup strategy: %s\n",