summaryrefslogtreecommitdiffstats
path: root/xlators/features/changelog/src/changelog-misc.h
diff options
context:
space:
mode:
authorAravinda VK <avishwan@redhat.com>2015-05-08 20:38:33 +0530
committerKaleb KEITHLEY <kkeithle@redhat.com>2015-05-08 08:18:30 -0700
commitaceecc2285ab3e5d3150f0d8c644371213c61b65 (patch)
tree1c4983175a79176c30f033e34db512f02ad73e1d /xlators/features/changelog/src/changelog-misc.h
parent02f9835d24aa07bd4e9fcb39cb7ace343f31924f (diff)
features/changelog: Fixing compilation issue
This issue introduced due to manual rebase. Change-Id: I0589f4a0a1270190340f419b8022d6483bcf853d Signed-off-by: Aravinda VK <avishwan@redhat.com> BUG: 1219479 Reviewed-on: http://review.gluster.org/10685 Reviewed-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Tested-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'xlators/features/changelog/src/changelog-misc.h')
-rw-r--r--xlators/features/changelog/src/changelog-misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/changelog/src/changelog-misc.h b/xlators/features/changelog/src/changelog-misc.h
index 71c976f5010..c0349ca3838 100644
--- a/xlators/features/changelog/src/changelog-misc.h
+++ b/xlators/features/changelog/src/changelog-misc.h
@@ -73,7 +73,7 @@
fp = fdopen (fd_dup, "r"); \
if (fp) { \
if (fgets (buffer, len, fp)) { \
- enc_len = strlen (buffer); \
+ elen = strlen (buffer); \
sscanf (buffer, \
CHANGELOG_HEADER, \
&maj, &min, &enc); \