diff options
author | Shehjar Tikoo <shehjart@zresearch.com> | 2009-05-08 15:45:09 +0530 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-05-08 18:10:31 +0530 |
commit | 5f4c102297bae265a7c9a16a86ee032ffbd44830 (patch) | |
tree | c541457e28f2089a2259fafb2aa10d9f6f6cc5bf /booster/src/booster.c | |
parent | adb56cb5e0f0d718764b25f1b37397be720f8750 (diff) |
booster: Standardize conf file and env variable
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'booster/src/booster.c')
-rw-r--r-- | booster/src/booster.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/booster/src/booster.c b/booster/src/booster.c index bcff9db08ec..afe33a6abaf 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 |