devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=28a88bbfc883d1736827572cc1b1e3ed3dd1119b

commit 28a88bbfc883d1736827572cc1b1e3ed3dd1119b
Author: Chris Michael <[email protected]>
Date:   Thu Jan 31 08:28:34 2019 -0500

    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.
---
 src/lib/elementary/elm_code_file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
           }
      }

-- 


Reply via email to