aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/bin/efreet/efreetd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/efreet/efreetd.c b/src/bin/efreet/efreetd.c
index 81d97aa1e6..0f349bf5a1 100644
--- a/src/bin/efreet/efreetd.c
+++ b/src/bin/efreet/efreetd.c
@@ -51,8 +51,8 @@ main(int argc, char *argv[])
s = getenv("XDG_RUNTIME_DIR");
if (s) log_file_dir = s;
- else log_file_dir = "/tmp";
- if (gethostname(buf, sizeof(buf)) < 0)
+ else log_file_dir = eina_environment_tmp_get();
+ if (gethostname(buf, sizeof(buf)) < 0)
hostname_str = "";
else
hostname_str = buf;