Skip to content

Commit

Permalink
fix: version info buildInfo to build
Browse files Browse the repository at this point in the history
  • Loading branch information
DuanKuanJun committed Jun 6, 2024
1 parent 5574e0d commit 1933190
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/benchCommandOpt.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void printVersion() {
// version
printf("%s\ntaosBenchmark version: %s\ngit: %s\n", TD_PRODUCT_NAME, taosBenchmark_ver, taosBenchmark_commit);
#ifdef LINUX
printf("buildInfo: %s\n ", buildinfo);
printf("build: %s\n ", buildinfo);
#endif
if (strlen(taosBenchmark_status) > 0) {
printf("status: %s\n", taosBenchmark_status);
Expand Down
2 changes: 1 addition & 1 deletion src/taosdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ static void printVersion(FILE *file) {

fprintf(file,"%s\ntaosdump version: %s\ngit: %s\n", TD_PRODUCT_NAME, taostools_ver, taosdump_commit);
#ifdef LINUX
printf("buildInfo: %s\n ", buildinfo);
printf("build: %s\n ", buildinfo);
#endif
if (strlen(taosdump_status) > 0) {
fprintf(file, "status:%s\n", taosdump_status);
Expand Down

0 comments on commit 1933190

Please sign in to comment.