aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/efreet
diff options
context:
space:
mode:
authorVincent Torri <vincent dot torri at gmail dot com>2015-09-29 23:35:40 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-10-12 17:21:59 -0700
commitdaad69d51bd8544a350b0821f8f2ac2276659b1a (patch)
treea4dde32d4e6626010f3f08e3e7edfdfe5e5c193c /src/bin/efreet
parentefreet: use eina_file_mkstemp() instead of mkstemp() for portability (diff)
downloadefl-daad69d51bd8544a350b0821f8f2ac2276659b1a.tar.gz
efreet: eina_file_mkstemp() needs a template with an extension
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/bin/efreet')
-rw-r--r--src/bin/efreet/efreetd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/efreet/efreetd.c b/src/bin/efreet/efreetd.c
index aed2996654..870dea7658 100644
--- a/src/bin/efreet/efreetd.c
+++ b/src/bin/efreet/efreetd.c
@@ -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)
{