summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Watson <tim@rabbitmq.com>2012-12-05 12:04:59 +0000
committerTim Watson <tim@rabbitmq.com>2012-12-05 12:04:59 +0000
commit9803385de90f12f5d1dbdc1a6f716927d977b066 (patch)
treedb8c0347b17034a9c6333d26c56f77cfc8a21e91
parent265af7bac59bc588e53b9e59cd546922d6983e86 (diff)
downloadrabbitmq-server-9803385de90f12f5d1dbdc1a6f716927d977b066.tar.gz
use ?MODULE macro when appropriate
-rw-r--r--src/supervisor2.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supervisor2.erl b/src/supervisor2.erl
index 4e7cbe43..d4d9e106 100644
--- a/src/supervisor2.erl
+++ b/src/supervisor2.erl
@@ -195,7 +195,7 @@
-endif.
start_link(Mod, Args) ->
- gen_server:start_link(supervisor2, {self, Mod, Args}, []).
+ gen_server:start_link(?MODULE, {self, Mod, Args}, []).
-ifdef(use_specs).
-spec start_link(SupName, Module, Args) -> startlink_ret() when