aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorZandra Hird <[email protected]>2015-03-18 13:11:13 +0100
committerZandra Hird <[email protected]>2015-03-18 13:11:13 +0100
commit6b61df94b7f6eaef0b5c3fec3499ebf84bd1847c (patch)
tree0bb89aca2a1a253176c3568870ff7d1cf4dbc294 /erts/emulator/beam
parent2993e322c6d458e63376fbdbb97fac847fde50e4 (diff)
parentf342f277ff0573d06be083d50e6e5fa2d57263a9 (diff)
downloadotp-6b61df94b7f6eaef0b5c3fec3499ebf84bd1847c.tar.gz
otp-6b61df94b7f6eaef0b5c3fec3499ebf84bd1847c.tar.bz2
otp-6b61df94b7f6eaef0b5c3fec3499ebf84bd1847c.zip
Merge branch 'wmalik/minor-fixes' into maint
* wmalik/minor-fixes: Fix proc_lib doc Remove commented out code Fix make_hash description
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/utils.c b/erts/emulator/beam/utils.c
index c505c44905..f810fca9a4 100644
--- a/erts/emulator/beam/utils.c
+++ b/erts/emulator/beam/utils.c
@@ -707,7 +707,7 @@ erts_bld_atom_2uint_3tup_list(Uint **hpp, Uint *szp, Sint length,
** If N < 0, Y = FUNNY_NUMBER4 else Y = FUNNY_NUMBER3.
** The hash value is Y*h(J) mod 2^32 where h(J) is calculated like
** h(0) = <initial hash>
-** h(i) = h(i-i)*X + B(i-1)
+** h(i) = h(i-1)*X + B(i-1)
** The above should hold regardless of internal representation.
** Pids are hashed like small numbers but with differrent constants, as are
** ports.