Skip to content

Commit 34332ea

Browse files
committed
Fix error to use underscore for atom
1 parent 6e6cf3f commit 34332ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c_src/sqlite3_nif.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ exqlite_open(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[])
210210
}
211211

212212
if (!enif_get_int(env, argv[1], &flags)) {
213-
return make_error_tuple(env, "invalid flags");
213+
return make_error_tuple(env, "invalid_flags");
214214
}
215215

216216
rc = sqlite3_open_v2(filename, &db, flags, NULL);

0 commit comments

Comments
 (0)