fixed printf fromat for length limited string

This commit is contained in:
Martin Willi
2009-08-07 10:31:21 +02:00
parent 4b5b92bfee
commit d9796a4311
+1 -1
View File
@@ -149,7 +149,7 @@ static int request(private_mconsole_t *this, void(*cb)(void*,char*,size_t),
{
if (reply.len && *reply.data)
{
DBG1("received mconsole error %d: %*.s",
DBG1("received mconsole error %d: %.*s",
reply.err, reply.len, reply.data);
}
break;