diff options
author | Dmitri Pal <dpal@redhat.com> | 2012-12-23 11:59:48 -0500 |
---|---|---|
committer | Ondrej Kos <okos@redhat.com> | 2013-01-24 08:34:35 +0100 |
commit | 360710d1a6c0c24d00a915a630884281b0b9e665 (patch) | |
tree | 428e2eee95344570c6ebf8ede39180e5031f1e50 /ini/ini_comment.c | |
parent | 9b368a8652b595528dcf85c9ecfeba0d93550ee1 (diff) | |
download | ding-libs-360710d1a6c0c24d00a915a630884281b0b9e665.tar.gz ding-libs-360710d1a6c0c24d00a915a630884281b0b9e665.tar.xz ding-libs-360710d1a6c0c24d00a915a630884281b0b9e665.zip |
Use ENOMEM instead of errno
Reviewed all uses or errno. Cleaned places that needed cleaning.
Did not remove <errno.h> yet where it is not needed.
Diffstat (limited to 'ini/ini_comment.c')
-rw-r--r-- | ini/ini_comment.c | 2 |
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; } |