mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-24 03:49:45 +00:00
executor: fix another format bug
Detected only by clang.
This commit is contained in:
parent
09c8f4c00a
commit
34c18f5f43
@ -387,7 +387,7 @@ static void debug_dump_data(const char* data, int length)
|
||||
{
|
||||
int i;
|
||||
for (i = 0; i < length; i++) {
|
||||
debug("%02hx ", (uint8_t)data[i] & (uint8_t)0xff);
|
||||
debug("%02x ", data[i] & 0xff);
|
||||
if (i % 16 == 15)
|
||||
debug("\n");
|
||||
}
|
||||
|
@ -519,7 +519,7 @@ static void debug_dump_data(const char* data, int length)
|
||||
{
|
||||
int i;
|
||||
for (i = 0; i < length; i++) {
|
||||
debug("%02hx ", (uint8_t)data[i] & (uint8_t)0xff);
|
||||
debug("%02x ", data[i] & 0xff);
|
||||
if (i % 16 == 15)
|
||||
debug("\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user