Skip to content

Commit

Permalink
fix: build error for errorPrint
Browse files Browse the repository at this point in the history
  • Loading branch information
DuanKuanJun committed Jan 20, 2025
1 parent 5781526 commit 9093e53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/benchQuery.c
Original file line number Diff line number Diff line change
Expand Up @@ -404,9 +404,9 @@ void totalChildQuery(qThreadInfo* infos, int threadCnt, int64_t spend) {

// succ is zero
if (delay_list->size == 0) {
errorPrint("succ queries count is zero.\n");
errorPrint("%s", "succ queries count is zero.\n");
benchArrayDestroy(delay_list);
return -1;
return ;
}


Expand Down Expand Up @@ -676,7 +676,7 @@ static int specQuery(uint16_t iface, char* dbName) {

// succ is zero
if(totalQueried == 0 || n == 0) {
errorPrint("succ queries count is zero.\n");
errorPrint("%s", "succ queries count is zero.\n");
goto OVER;
}

Expand Down

0 comments on commit 9093e53

Please sign in to comment.