use '%u' to printf unsigned int
Signed-off-by: zhujun2 <zhujun2(a)cmss.chinamobile.com>
---
examples/c/misc/event-test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/c/misc/event-test.c b/examples/c/misc/event-test.c
index 813bca2699..07d86500cd 100644
--- a/examples/c/misc/event-test.c
+++ b/examples/c/misc/event-test.c
@@ -969,7 +969,7 @@ myDomainEventMemoryFailureCallback(virConnectPtr conn G_GNUC_UNUSED,
void *opaque G_GNUC_UNUSED)
{
printf("%s EVENT: Domain %s(%d) memory failure: recipient '%d', "
- "aciont '%d', flags '%d'\n", __func__,
virDomainGetName(dom),
+ "aciont '%d', flags '%u'\n", __func__,
virDomainGetName(dom),
virDomainGetID(dom), recipient, action, flags);
return 0;
}
--
2.17.1