aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_db.c
diff options
context:
space:
mode:
authorMahesh Baheti <[email protected]>2016-08-06 22:11:57 +0900
committerMahesh Baheti <[email protected]>2016-08-07 11:08:07 +0900
commitc2bc5b5204a482f3a04ce81d9ce57fe9ee845c82 (patch)
treeba654e295c233f30d1425e029eca3a9e02fe2d60 /erts/emulator/beam/erl_db.c
parente43e82802735f2fd0d6d67308e7602c37ac70898 (diff)
downloadotp-c2bc5b5204a482f3a04ce81d9ce57fe9ee845c82.tar.gz
otp-c2bc5b5204a482f3a04ce81d9ce57fe9ee845c82.tar.bz2
otp-c2bc5b5204a482f3a04ce81d9ce57fe9ee845c82.zip
Correct spelling of atomicity
Diffstat (limited to 'erts/emulator/beam/erl_db.c')
-rw-r--r--erts/emulator/beam/erl_db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_db.c b/erts/emulator/beam/erl_db.c
index bad34211a5..128a7b3865 100644
--- a/erts/emulator/beam/erl_db.c
+++ b/erts/emulator/beam/erl_db.c
@@ -1094,7 +1094,7 @@ BIF_RETTYPE ets_insert_2(BIF_ALIST_2)
CHECK_TABLES();
- /* Write lock table if more than one object to keep atomicy */
+ /* Write lock table if more than one object to keep atomicity */
kind = ((is_list(BIF_ARG_2) && CDR(list_val(BIF_ARG_2)) != NIL)
? LCK_WRITE : LCK_WRITE_REC);
@@ -1164,7 +1164,7 @@ BIF_RETTYPE ets_insert_new_2(BIF_ALIST_2)
Eterm lookup_ret;
DbTableMethod* meth;
- /* More than one object, use LCK_WRITE to keep atomicy */
+ /* More than one object, use LCK_WRITE to keep atomicity */
kind = LCK_WRITE;
tb = db_get_table(BIF_P, BIF_ARG_1, DB_WRITE, kind);
if (tb == NULL) {