summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Hamb├╝chen <mail@nh2.me>2018-03-21 18:54:24 +0100
committerAmar Tumballi <amarts@redhat.com>2018-03-24 05:11:02 +0000
commit0a08afbb9a2278c7bc71df11c709c14adab68d57 (patch)
tree6f9a7ff7c4b5a573ba5d0680bab448a0a3817f4a
parent0056feaa21489910fa4ef18668602e1f0967ea6c (diff)
libgfchangelog: Correct the log message
Provide correct error message for changelog end time check Updated error message to print "wrong result for end". Original patch by Keith Schincke <kschinck@redhat.com> from https://review.gluster.org/#/c/8121/ Change-Id: Ia3458cbac7784bfc71c05da67391a3f8259f18f0 BUG: 1559126 Signed-off-by: Niklas Hamb├╝chen <mail@nh2.me>
-rw-r--r--xlators/features/changelog/lib/src/gf-history-changelog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/changelog/lib/src/gf-history-changelog.c b/xlators/features/changelog/lib/src/gf-history-changelog.c
index 0d8289ccc82..2f245a725f6 100644
--- a/xlators/features/changelog/lib/src/gf-history-changelog.c
+++ b/xlators/features/changelog/lib/src/gf-history-changelog.c
@@ -929,7 +929,7 @@ gf_history_changelog (char* changelog_dir, unsigned long start,
ret = -1;
gf_smsg (this->name, GF_LOG_ERROR, 0,
CHANGELOG_LIB_MSG_GET_TIME_ERROR,
- "wrong result for start",
+ "wrong result for end",
"start=%lu", end2,
"idx=%lu", to,
NULL);