Skip to content
Snippets Groups Projects
Verified Commit 6164ac91 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

utils/cache_gc: fix debug prints

The difference is on "negative" char values, in which case
the prints were way too long.
parent 997f5fc7
Branches
Tags
1 merge request!1101utils/cache_gc: fix debug prints
Pipeline #72811 canceled with stages
in 4 minutes and 48 seconds
......@@ -128,7 +128,7 @@ void debug_printbin(const char *str, unsigned int len)
if (isprint(c))
putchar(c);
else
printf("`%02x`", c);
printf("`%02hhx`", c);
}
putchar('"');
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment