fix two typos

This commit is contained in:
eknauel 2004-11-15 14:10:21 +00:00
parent bba2de6fae
commit a61acd45e9
1 changed files with 2 additions and 2 deletions

View File

@ -304,7 +304,7 @@ s48_value scsh_bdb_env_lock_get(s48_value senv_handle, s48_value slocker_id,
S48_GC_UNPROTECT();
if ((lock = (DB_LOCK *) calloc(1, sizeof(DB_LOCK))) == NULL)
s48_raise_out_of_memory();
s48_raise_out_of_memory_error();
res = dbenv->lock_get(dbenv, locker_id, flags, &object,
lock_mode, lock);
@ -369,7 +369,7 @@ s48_value scsh_bdb_dbrename(s48_value senv_handle, s48_value stxnid,
u_int32_t flags;
S48_DECLARE_GC_PROTECT(6);
S48_GC_UNPROTECT_6(senv_handle, stxnid, sfile, sdatabase, snewname, sflags);
S48_GC_PROTECT_6(senv_handle, stxnid, sfile, sdatabase, snewname, sflags);
dbenv = scsh_extract_dbenv(senv_handle);
txnid = EXTRACT_OPTIONAL_TXNID(stxnid);
file = s48_extract_string(sfile);