summaryrefslogtreecommitdiff
path: root/src/counter.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/counter.erl')
-rw-r--r--src/counter.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/counter.erl b/src/counter.erl
index 98605f6..587ea26 100644
--- a/src/counter.erl
+++ b/src/counter.erl
@@ -5,7 +5,7 @@
-define(MAXCOUNT, 32767).
start() ->
- register(counterPid, spawn_link(?MODULE, counter, [0])).
+ register(counterPid, spawn_link(?MODULE, counter, [])).
counter() ->
process_flag(trap_exit, true),