summaryrefslogtreecommitdiffstats
path: root/output
diff options
context:
space:
mode:
Diffstat (limited to 'output')
-rw-r--r--output/mysql/ulogd_output_MYSQL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/output/mysql/ulogd_output_MYSQL.c b/output/mysql/ulogd_output_MYSQL.c
index 4484696..74995a5 100644
--- a/output/mysql/ulogd_output_MYSQL.c
+++ b/output/mysql/ulogd_output_MYSQL.c
@@ -221,7 +221,7 @@ static int execute_mysql(struct ulogd_pluginstance *upi,
ret = mysql_real_query(mi->dbh, stmt, len);
if (ret) {
ulogd_log(ULOGD_ERROR, "execute failed (%s)\n",
- mgsql_error(mi->dbh));
+ mysql_error(mi->dbh));
return -1;
}