From faef6fded892c310a3debdce273a382286a4ec19 Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Tue, 5 May 2009 20:45:26 +0530 Subject: booster: Change booster conf env var name Signed-off-by: Anand V. Avati --- booster/src/booster.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'booster') diff --git a/booster/src/booster.c b/booster/src/booster.c index 3f74d7731..9e5f15ead 100644 --- a/booster/src/booster.c +++ b/booster/src/booster.c @@ -233,6 +233,7 @@ booster_get_process_fd () } #define DEFAULT_BOOSTER_CONF "/etc/booster.conf" +#define BOOSTER_CONF_ENV_VAR "GLUSTERFS_BOOSTER_CONF" int booster_parse_line (char *buf, char **mount_point, @@ -473,7 +474,7 @@ do_open (int fd, int flags, mode_t mode) fseek (specfp, 0L, SEEK_SET); - ctx.logfile = getenv ("GLFS_BOOSTER_LOGFILE"); + ctx.logfile = getenv (BOOSTER_CONF_ENV_VAR); ctx.specfp = specfp; handle = glusterfs_init (&ctx); -- cgit