Fix compile fail

This commit is contained in:
turtled 2017-12-06 10:19:46 +08:00
parent a42fcb2c39
commit 24f05adb1a
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ init([]) ->
permanent, 5000, worker, [?HELPER]}, permanent, 5000, worker, [?HELPER]},
%% SM Pool Sup %% SM Pool Sup
MFA = {emqttd_sm, start_link, []}, MFA = {?SM, start_link, []},
PoolSup = emqx_pool_sup:spec([emqttd_sm, hash, erlang:system_info(schedulers), MFA]), PoolSup = emqttd_pool_sup:spec([?SM, hash, erlang:system_info(schedulers), MFA]),
{ok, {{one_for_all, 10, 3600}, [Helper, PoolSup]}}. {ok, {{one_for_all, 10, 3600}, [Helper, PoolSup]}}.