summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/client.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/client.c b/src/client.c
index 817a9c0..7e787e4 100644
--- a/src/client.c
+++ b/src/client.c
@@ -1120,14 +1120,16 @@ static int og_resp_image_create(json_t *data, struct og_client *cli)
soft_legacy.center);
if (!res) {
og_dbi_close(dbi);
- syslog(LOG_ERR, "Problem updating client configuration\n");
+ syslog(LOG_ERR, "Problem updating software inventory (%s:%u)\n",
+ __FILE__, __LINE__);
return -1;
}
res = og_dbi_update_image(dbi, &img_legacy, soft_legacy.id);
if (!res) {
og_dbi_close(dbi);
- syslog(LOG_ERR, "Problem updating client configuration\n");
+ syslog(LOG_ERR, "Problem updating image (%s:%u)\n",
+ __FILE__, __LINE__);
return -1;
}
@@ -1137,7 +1139,8 @@ static int og_resp_image_create(json_t *data, struct og_client *cli)
og_dbi_close(dbi);
if (res) {
- syslog(LOG_ERR, "Problem updating image info\n");
+ syslog(LOG_ERR, "Problem updating image (%s:%u)\n",
+ __FILE__, __LINE__);
return -1;
}