efreet: eina_file_mkstemp() needs a template with an extension

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Vincent Torri 2015-09-29 23:35:40 +02:00 committed by Cedric BAIL
parent c0be7c1a43
commit daad69d51b
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ main(int argc, char *argv[])
if (!eina_init()) return 1;
snprintf(path, sizeof(path), "efreetd_XXXXXX");
snprintf(path, sizeof(path), "efreetd_XXXXXX.cache");
fd = eina_file_mkstemp(path, NULL);
if (fd < 0)
{