From b1e3e7c791a7927d978d14b0e20ae478a13c8610 Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 8 Sep 2005 15:03:53 +0000 Subject: [PATCH] lttd mkdir ok git-svn-id: http://ltt.polymtl.ca/svn@1164 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttd/lttd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ltt/branches/poly/lttd/lttd.c b/ltt/branches/poly/lttd/lttd.c index 737822e..01f1dd6 100644 --- a/ltt/branches/poly/lttd/lttd.c +++ b/ltt/branches/poly/lttd/lttd.c @@ -209,9 +209,7 @@ int open_channel_trace_pairs(char *subchannel_name, char *subtrace_name, printf("Creating trace subdirectory %s\n", subtrace_name); ret = mkdir(subtrace_name, S_IRWXU|S_IRWXG|S_IRWXO); if(ret == -1) { - if(errno == EEXIST && append_mode) { - printf("Appending to directory %s as resquested\n", subtrace_name); - } else { + if(errno != EEXIST) { perror(subtrace_name); open_ret = -1; goto end; -- 2.34.1