From 01ae72a57023eb3218d57313453ce567190bed5d Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Wed, 27 Nov 2019 20:11:46 +0300 Subject: [PATCH] mdbx-dump: fix output (don't print version caption to stdout). Change-Id: Id9986a79c0bceb3637c3aee4b669adab6a68dc2f --- src/tools/mdbx_dump.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tools/mdbx_dump.c b/src/tools/mdbx_dump.c index 20cd3762..b9b10e06 100644 --- a/src/tools/mdbx_dump.c +++ b/src/tools/mdbx_dump.c @@ -251,9 +251,9 @@ int main(int argc, char *argv[]) { #endif /* !WINDOWS */ envname = argv[optind]; - printf("mdbx_dump %s (%s, T-%s)\nRunning for %s...\n", - mdbx_version.git.describe, mdbx_version.git.datetime, - mdbx_version.git.tree, envname); + fprintf(stderr, "mdbx_dump %s (%s, T-%s)\nRunning for %s...\n", + mdbx_version.git.describe, mdbx_version.git.datetime, + mdbx_version.git.tree, envname); fflush(NULL); rc = mdbx_env_create(&env);