From 6347a8b5c62a93c52cb11a68598068abb85ad930 Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Mon, 24 Feb 2014 13:02:18 -0500 Subject: [PATCH] Fix: perror on index directory creation error Signed-off-by: Julien Desfossez Signed-off-by: David Goulet --- src/common/index/index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.34.1