aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-02-19 17:44:27 +0100
committerLukas Larsson <[email protected]>2013-02-19 17:44:27 +0100
commit072d1475680ac70827556cf87b8ef7ce1bfbc0c8 (patch)
treead827cb3513464b10db4548c79bf9fc6d29db55f /erts/emulator
parent710cd8efa09ecb62af06f61402683bf2a13481fc (diff)
downloadotp-072d1475680ac70827556cf87b8ef7ce1bfbc0c8.tar.gz
otp-072d1475680ac70827556cf87b8ef7ce1bfbc0c8.tar.bz2
otp-072d1475680ac70827556cf87b8ef7ce1bfbc0c8.zip
Fix bug where +sws proposal was still allowed to be set
This only applied to non-smp systems
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/erl_process.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index 96af19fb83..00247b387a 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -4311,8 +4311,7 @@ erts_sched_set_wakeup_other_type(char *str)
wakeup_other.type = type;
return 0;
#else
- if (sys_strcmp(str, "proposal") == 0 || sys_strcmp(str, "default") == 0 ||
- sys_strcmp(str, "legacy") == 0) {
+ if (sys_strcmp(str, "default") == 0 || sys_strcmp(str, "legacy") == 0) {
return 0;
}
return EINVAL;