Skip to content

Commit

Permalink
Fixing bug in verbose output
Browse files Browse the repository at this point in the history
  • Loading branch information
khuck committed Oct 1, 2024
1 parent 0748e50 commit b83ec90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apex/taskstubs_implementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ maptype& getMyMap(void) {
return theMap;
}

int verbosePrint(int priority, const char *format, ...)
int verbosePrint(const char *format, ...)
{
static std::mutex local_mtx;
std::scoped_lock lock{local_mtx};
Expand All @@ -44,7 +44,7 @@ int verbosePrint(int priority, const char *format, ...)
va_end(args);
}

#define VERBOSE_PRINTF(...) if (apex::apex_options::use_verbose()) { printf(__VA_ARGS__); }
#define VERBOSE_PRINTF(...) if (apex::apex_options::use_verbose()) { verbosePrint(__VA_ARGS__); }

void safePrint(const char * format, tasktimer_guid_t guid, const char * event) {
//static std::mutex local_mtx;
Expand Down

0 comments on commit b83ec90

Please sign in to comment.