Skip to content

Commit

Permalink
Print macid as const char*
Browse files Browse the repository at this point in the history
  • Loading branch information
streetpea committed Nov 18, 2024
1 parent 9980d02 commit 518ebad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/src/discoverymanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ HostMAC DiscoveryHost::GetHostMAC() const
QByteArray data = QByteArray::fromHex(host_id.toUtf8());
if(data.size() != 6)
{
fprintf(stderr, "Invalid mac received %s", host_id);
fprintf(stderr, "Invalid mac received %s", host_id.toUtf8().constData());
return HostMAC();
}
return HostMAC((uint8_t *)data.constData());
Expand Down

0 comments on commit 518ebad

Please sign in to comment.