From 3dd38a4a35885adf6ac2e0c6c4e38d36ab862441 Mon Sep 17 00:00:00 2001 From: Emmanuel Dreyfus Date: Sun, 29 Apr 2012 09:51:06 +0200 Subject: get rid of ZR_PATH_MAX As suggested by Amar Tumballi Change-Id: Id1cd74fd7530e8c846f3be4a88b1fa301a728cf1 BUG: 764655 Signed-off-by: Emmanuel Dreyfus Reviewed-on: http://review.gluster.com/3243 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi Reviewed-by: Vijay Bellur --- xlators/features/path-convertor/src/path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/features/path-convertor') diff --git a/xlators/features/path-convertor/src/path.c b/xlators/features/path-convertor/src/path.c index f61630535ba..f2423092e56 100644 --- a/xlators/features/path-convertor/src/path.c +++ b/xlators/features/path-convertor/src/path.c @@ -52,7 +52,7 @@ static char * name_this_to_that (xlator_t *xl, const char *path, const char *name) { path_private_t *priv = xl->private; - char priv_path[ZR_PATH_MAX] = {0,}; + char priv_path[PATH_MAX] = {0,}; char *tmp_name = NULL; int32_t path_len = strlen (path); int32_t name_len = strlen (name) - ZR_FILE_CONTENT_STRLEN; -- cgit