summaryrefslogtreecommitdiffstats
path: root/ini/ini_comment.c
diff options
context:
space:
mode:
Diffstat (limited to 'ini/ini_comment.c')
-rw-r--r--ini/ini_comment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ini/ini_comment.c b/ini/ini_comment.c
index acf8b66..6b56d02 100644
--- a/ini/ini_comment.c
+++ b/ini/ini_comment.c
@@ -736,7 +736,7 @@ int ini_comment_serialize (struct ini_comment *ic,
error = ini_comment_get_line(ic, i, &commentline, &len);
if (error) {
- TRACE_ERROR_NUMBER("Failed to get line", errno);
+ TRACE_ERROR_NUMBER("Failed to get line", error);
return error;
}