summaryrefslogtreecommitdiff
path: root/lib/lua/sqlite/sqlite.c
diff options
context:
space:
mode:
authormbalmer <mbalmer@NetBSD.org>2016-02-15 15:56:33 +0000
committermbalmer <mbalmer@NetBSD.org>2016-02-15 15:56:33 +0000
commit0d97a059b33e7e64889101e0c4a56d1e8db97977 (patch)
tree2dabe1c80149d2211cb5549089135bb8f8dce4aa /lib/lua/sqlite/sqlite.c
parent8275a32b9863aff1e3e75a47823fc07ba8268056 (diff)
Fix function name, no functional change.
Found by Travis Paul, (see PR/50786), thanks for reporting!
Diffstat (limited to 'lib/lua/sqlite/sqlite.c')
-rw-r--r--lib/lua/sqlite/sqlite.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/lua/sqlite/sqlite.c b/lib/lua/sqlite/sqlite.c
index e3bc14e78f8..3ffe755c2e2 100644
--- a/lib/lua/sqlite/sqlite.c
+++ b/lib/lua/sqlite/sqlite.c
@@ -1,7 +1,7 @@
-/* $NetBSD: sqlite.c,v 1.7 2014/07/19 18:38:34 lneto Exp $ */
+/* $NetBSD: sqlite.c,v 1.8 2016/02/15 15:56:33 mbalmer Exp $ */
/*
- * Copyright (c) 2011, 2013 Marc Balmer <marc@msys.ch>
+ * Copyright (c) 2011, 2013, 2016 Marc Balmer <marc@msys.ch>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -392,7 +392,7 @@ static const struct constant sqlite_constant[] = {
};
static void
-gpio_set_info(lua_State *L)
+sqlite_set_info(lua_State *L)
{
lua_pushliteral(L, "_COPYRIGHT");
lua_pushliteral(L, "Copyright (C) 2011, 2012, 2013 by "
@@ -449,7 +449,7 @@ luaopen_sqlite(lua_State* L)
luaL_newlib(L, sqlite_methods);
luaL_setfuncs(L, db_methods, 0);
luaL_setfuncs(L, stmt_methods, 0);
- gpio_set_info(L);
+ sqlite_set_info(L);
/* The database connection metatable */
if (luaL_newmetatable(L, SQLITE_DB_METATABLE)) {