fixed printf fromat for length limited string
This commit is contained in:
+1
-1
@@ -149,7 +149,7 @@ static int request(private_mconsole_t *this, void(*cb)(void*,char*,size_t),
|
|||||||
{
|
{
|
||||||
if (reply.len && *reply.data)
|
if (reply.len && *reply.data)
|
||||||
{
|
{
|
||||||
DBG1("received mconsole error %d: %*.s",
|
DBG1("received mconsole error %d: %.*s",
|
||||||
reply.err, reply.len, reply.data);
|
reply.err, reply.len, reply.data);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user