better error log message

This commit is contained in:
Joris Vink 2018-06-28 14:53:43 +02:00
parent 3faf89d83d
commit c2f66af937
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ kore_accesslog_write(const void *data, u_int32_t len)
logpacket.length, logpacket.agent);
if (l == -1) {
kore_log(LOG_WARNING,
"kore_accesslog_write(): asprintf() == -1");
"kore_accesslog_write(): asprintf(): %s", errno_s);
return (KORE_RESULT_ERROR);
}