strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure first argument is an int when using %.*s to print e.g. chunks
[strongswan.git]
/
src
/
dumm
/
mconsole.c
diff --git
a/src/dumm/mconsole.c
b/src/dumm/mconsole.c
index
de70b7e
..
40045cc
100644
(file)
--- a/
src/dumm/mconsole.c
+++ b/
src/dumm/mconsole.c
@@
-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;
}