summaryrefslogtreecommitdiff
path: root/src/bin/efreet/efreetd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/efreet/efreetd.c')
-rw-r--r--src/bin/efreet/efreetd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/efreet/efreetd.c b/src/bin/efreet/efreetd.c
index 1ef7d339c2..a843d0688c 100644
--- a/src/bin/efreet/efreetd.c
+++ b/src/bin/efreet/efreetd.c
@@ -32,7 +32,7 @@ int
32main(int argc, char *argv[]) 32main(int argc, char *argv[])
33{ 33{
34 char path[PATH_MAX + 128], buf[PATH_MAX]; 34 char path[PATH_MAX + 128], buf[PATH_MAX];
35 FILE *log; 35 FILE *logf;
36 int fd; 36 int fd;
37 const char *log_file_dir = NULL; 37 const char *log_file_dir = NULL;
38 const char *hostname_str = NULL; 38 const char *hostname_str = NULL;
@@ -69,9 +69,9 @@ main(int argc, char *argv[])
69 ERR("Can't create log file '%s'\b", path); 69 ERR("Can't create log file '%s'\b", path);
70 goto tmp_error; 70 goto tmp_error;
71 } 71 }
72 log = fdopen(fd, "wb"); 72 logf = fdopen(fd, "wb");
73 if (!log) goto tmp_error; 73 if (!logf) goto tmp_error;
74 eina_log_print_cb_set(eina_log_print_cb_file, log); 74 eina_log_print_cb_set(eina_log_print_cb_file, logf);
75 efreetd_log_dom = eina_log_domain_register("efreetd", EFREETD_DEFAULT_LOG_COLOR); 75 efreetd_log_dom = eina_log_domain_register("efreetd", EFREETD_DEFAULT_LOG_COLOR);
76 if (efreetd_log_dom < 0) 76 if (efreetd_log_dom < 0)
77 { 77 {