diff options
author | Shehjar Tikoo <shehjart@zresearch.com> | 2009-05-05 20:45:26 +0530 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-05-06 12:32:08 +0530 |
commit | faef6fded892c310a3debdce273a382286a4ec19 (patch) | |
tree | 101b4aeeac9d8828384552e6dd69ee3195d4e010 /booster/src | |
parent | f6862d75d1ca50b12372d5f9c3e651d6f74c5900 (diff) |
booster: Change booster conf env var name
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'booster/src')
-rw-r--r-- | booster/src/booster.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |