From: compudj Date: Tue, 7 Mar 2006 21:21:07 +0000 (+0000) Subject: file creation X-Git-Tag: v0.12.20~1877 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5efa73ea0fa6562c46a966f56665022ccb018963;p=lttv.git file creation git-svn-id: http://ltt.polymtl.ca/svn@1612 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/usertrace-fast/ltt-usertrace-fast.c b/usertrace-fast/ltt-usertrace-fast.c index 3d64e781..c809aff0 100644 --- a/usertrace-fast/ltt-usertrace-fast.c +++ b/usertrace-fast/ltt-usertrace-fast.c @@ -176,10 +176,10 @@ static void ltt_usertrace_fast_daemon(struct ltt_trace_info *shared_trace_info, snprintf(identifier_name, PATH_MAX-1, "%lu.%lu.%llu", traced_pid, traced_thread, get_cycles()); snprintf(outfile_name, PATH_MAX-1, "facilities-%s", identifier_name); - fd_fac = creat(outfile_name, 0666); + fd_fac = creat(outfile_name, 0644); snprintf(outfile_name, PATH_MAX-1, "cpu-%s", identifier_name); - fd_cpu = creat(outfile_name, 0666); + fd_cpu = creat(outfile_name, 0644); while(1) {