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.4.0~27 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1653716c9f27c34ece6002a01dfdac08520c6c42;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; } }