diff --git a/lmdb.h b/lmdb.h
index e42175fc..7cb7196b 100644
--- a/lmdb.h
+++ b/lmdb.h
@@ -1500,7 +1500,7 @@ int mdb_cursor_get(MDB_cursor *cursor, MDB_val *key, MDB_val *data,
*
* - #MDB_MAP_FULL - the database is full, see #mdb_env_set_mapsize().
*
- #MDB_TXN_FULL - the transaction has too many dirty pages.
- *
- EACCES - an attempt was made to modify a read-only database.
+ *
- EACCES - an attempt was made to write in a read-only transaction.
*
- EINVAL - an invalid parameter was specified.
*
*/
@@ -1520,7 +1520,7 @@ int mdb_cursor_put(MDB_cursor *cursor, MDB_val *key, MDB_val *data,
* @return A non-zero error value on failure and 0 on success. Some possible
* errors are:
*
- * - EACCES - an attempt was made to modify a read-only database.
+ *
- EACCES - an attempt was made to write in a read-only transaction.
*
- EINVAL - an invalid parameter was specified.
*
*/