mdbx-dump: fix output (don't print version caption to stdout).

Change-Id: Id9986a79c0bceb3637c3aee4b669adab6a68dc2f
This commit is contained in:
Leonid Yuriev 2019-11-27 20:11:46 +03:00
parent 2f383d8de3
commit 01ae72a570

View File

@ -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);