Make sure first argument is an int when using %.*s to print e.g. chunks
This commit is contained in:
1 parent
4bc24ba794
commit
a05f3b2021
17 files changed
+52
-46
No files matched your search
+1
-1
@@ -150,7 +150,7 @@ static int request(private_mconsole_t *this, void(*cb)(void*,char*,size_t),
|
||||
if (reply.len && *reply.data)
|
||||
{
|
||||
DBG1(DBG_LIB, "received mconsole error %d: %.*s",
|
||||
reply.err, reply.len, reply.data);
|
||||
reply.err, (int)reply.len, reply.data);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user