aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2019-01-31 08:28:34 -0500
committerChris Michael <cp.michael@samsung.com>2019-01-31 08:28:34 -0500
commit28a88bbfc883d1736827572cc1b1e3ed3dd1119b (patch)
tree303612e559ae5860964ff23a9aece215de3ee39f
parentecore-evas-buffer: Fix formatting (diff)
downloadefl-28a88bbfc883d1736827572cc1b1e3ed3dd1119b.tar.gz
elm_code: Fix formatting of error string
the ERR line here used %s for 'mode', but 'mode is an unsigned int thus causing compiler warning. Fix it.
-rw-r--r--src/lib/elementary/elm_code_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_code_file.c b/src/lib/elementary/elm_code_file.c
index d82a7716bd..c5d429f639 100644
--- a/src/lib/elementary/elm_code_file.c
+++ b/src/lib/elementary/elm_code_file.c
@@ -219,7 +219,7 @@ EAPI void elm_code_file_save(Elm_Code_File *file)
{
if(chmod(path, mode) < 0)
{
- ERR("Error in chmod(%s, %s) - %d(%s)\n", path, mode, errno, strerror(errno));
+ ERR("Error in chmod(%s, %d) - %d(%s)\n", path, mode, errno, strerror(errno));
return;
}
}