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.
This commit is contained in:
Chris Michael 2019-01-31 08:28:34 -05:00
parent 3fcdada0fd
commit 28a88bbfc8
1 changed files with 1 additions and 1 deletions

View File

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