Skip to content

Commit

Permalink
* FIX [core] disable msg printf for Darwin CI
Browse files Browse the repository at this point in the history
Signed-off-by: jaylin <[email protected]>
  • Loading branch information
JaylinYu committed Dec 28, 2023
1 parent 3b464bd commit 6ae827f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/core/message.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ nni_chunk_dump(const nni_chunk *chunk, char *prefix)
uint8_t x;
char buf[128];

(void) snprintf(buf, sizeof(buf),
" %s (cap %d, len %d, offset %d ptr %p):", prefix,
(int) chunk->ch_cap, (int) chunk->ch_len,
(int) (chunk->ch_ptr - chunk->ch_buf), chunk->ch_ptr);
nni_println(buf);
// (void) snprintf(buf, sizeof(buf),
// " %s (cap %d, len %d, offset %d ptr %p):", prefix,
// (int) chunk->ch_cap, (int) chunk->ch_len,
// (int) (chunk->ch_ptr - chunk->ch_buf), chunk->ch_ptr);
// nni_println(buf);

buf[0] = 0;
for (i = 0, j = 0; i < chunk->ch_len; i++) {
Expand Down

0 comments on commit 6ae827f

Please sign in to comment.