Skip to content

Commit

Permalink
hci_dump: fix crash on posix systems caused by logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mringwal committed Apr 13, 2017
1 parent c692d77 commit b8ae70b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hci_dump.c
Expand Up @@ -290,6 +290,7 @@ void hci_dump_log_va_arg(int log_level, const char * format, va_list argptr){
if (dump_file >= 0){
int len = vsnprintf(log_message_buffer, sizeof(log_message_buffer), format, argptr);
hci_dump_packet(LOG_MESSAGE_PACKET, 0, (uint8_t*) log_message_buffer, len);
return;
}
#endif

Expand Down

0 comments on commit b8ae70b

Please sign in to comment.