From 5f4c102297bae265a7c9a16a86ee032ffbd44830 Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Fri, 8 May 2009 15:45:09 +0530 Subject: booster: Standardize conf file and env variable Signed-off-by: Anand V. Avati --- booster/src/booster.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'booster') diff --git a/booster/src/booster.c b/booster/src/booster.c index bcff9db08..afe33a6ab 100644 --- a/booster/src/booster.c +++ b/booster/src/booster.c @@ -233,7 +233,7 @@ booster_get_process_fd () } #define DEFAULT_BOOSTER_CONF CONFDIR"/booster.conf" -#define BOOSTER_CONF_ENV_VAR "GLUSTERFS_BOOSTER_CONF" +#define BOOSTER_CONF_ENV_VAR "GLUSTERFS_BOOSTER_FSTAB" int booster_parse_line (char *buf, char **mount_point, @@ -1199,7 +1199,7 @@ booster_init (void) * correctly initialized to return a NULL handle, on which the * socket calls will fall-back to the real API. */ - booster_conf_path = getenv ("GLFS_BOOSTER_CONF"); + booster_conf_path = getenv (BOOSTER_CONF_ENV_VAR); if (booster_conf_path == NULL) ret = booster_configure (DEFAULT_BOOSTER_CONF); else -- cgit