From 0a08afbb9a2278c7bc71df11c709c14adab68d57 Mon Sep 17 00:00:00 2001 From: Niklas Hambüchen Date: Wed, 21 Mar 2018 18:54:24 +0100 Subject: libgfchangelog: Correct the log message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Provide correct error message for changelog end time check Updated error message to print "wrong result for end". Original patch by Keith Schincke from https://review.gluster.org/#/c/8121/ Change-Id: Ia3458cbac7784bfc71c05da67391a3f8259f18f0 BUG: 1559126 Signed-off-by: Niklas Hambüchen --- xlators/features/changelog/lib/src/gf-history-changelog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit