From: Julien Desfossez Date: Mon, 24 Feb 2014 18:02:18 +0000 (-0500) Subject: Fix: perror on index directory creation error X-Git-Tag: v2.5.0-rc1~165 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6347a8b5c62a93c52cb11a68598068abb85ad930;p=lttng-tools.git Fix: perror on index directory creation error Signed-off-by: Julien Desfossez Signed-off-by: David Goulet --- diff --git a/src/common/index/index.c b/src/common/index/index.c index 58918caaa..a00403420 100644 --- a/src/common/index/index.c +++ b/src/common/index/index.c @@ -52,7 +52,7 @@ int index_create_file(char *path_name, char *stream_name, int uid, int gid, ret = run_as_mkdir(fullpath, S_IRWXU | S_IRWXG, uid, gid); if (ret < 0) { if (ret != -EEXIST) { - ERR("Index trace directory creation error"); + PERROR("Index trace directory creation error"); goto error; } }