Skip to content

Commit

Permalink
Fix printf specifier character
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanoColli committed Jan 16, 2025
1 parent 750cd36 commit 05e3c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mainloop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ void Mainloop::handle_command_pipe()
log_error("Command Server: Error");
} else {
buf[bytes] = '\0';
log_debug("Command Server: Read %ld bytes: %s", bytes, buf);
log_debug("Command Server: Read %zd bytes: %s", bytes, buf);

char *current_new_line = strchr(cmd, '\n');
while (current_new_line != NULL) {
Expand Down

0 comments on commit 05e3c9a

Please sign in to comment.