summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-08-28 13:00:35 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-08-28 13:01:11 +0200
commit9ee9d66b7c7c8e1c4e5b70ccaf5dae74b31a91f9 (patch)
tree0fa76a381ce7a04656d673c6784db1bec9b50610 /src
parent5eba9f4e1b44fb0d4b4962c2241fe9391e202d7b (diff)
schema: incorrect error log
fix incorrect error report when updating table.
Diffstat (limited to 'src')
-rw-r--r--src/schema.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/schema.c b/src/schema.c
index a41f062..182f992 100644
--- a/src/schema.c
+++ b/src/schema.c
@@ -253,7 +253,7 @@ static int og_dbi_schema_v5(struct og_dbi *dbi)
"ADD `permissions` int DEFAULT '0' AFTER `lastupdate`;");
if (!result) {
dbi_conn_error(dbi->conn, &msglog);
- syslog(LOG_INFO, "Error when adding identorno (%s:%d) %s\n",
+ syslog(LOG_INFO, "Error when updating imagenes table (%s:%d) %s\n",
__func__, __LINE__, msglog);
return -1;
}
@@ -288,7 +288,7 @@ static int og_dbi_schema_v6(struct og_dbi *dbi)
") AUTO_INCREMENT=1;");
if (!result) {
dbi_conn_error(dbi->conn, &msglog);
- syslog(LOG_INFO, "Error when adding identorno (%s:%d) %s\n",
+ syslog(LOG_INFO, "Error creating table cache (%s:%d) %s\n",
__func__, __LINE__, msglog);
return -1;
}