From fa49565fa7ef682ce61bc446fb0d2469eedddc66 Mon Sep 17 00:00:00 2001 From: Maryam Tahhan Date: Tue, 19 Jul 2016 13:14:19 +0100 Subject: [PATCH] hugpages: fix compilation error Fix error: format '%lu' expects type 'long unsigned int', but argument 6 has type 'derive_t'. For line 93. Change-Id: I4f164d238cd4fa6f8a69d78b2906042aa3c5da72 Signed-off-by: Maryam Tahhan --- src/hugepages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hugepages.c b/src/hugepages.c index db18de05..fb736a6a 100644 --- a/src/hugepages.c +++ b/src/hugepages.c @@ -90,7 +90,7 @@ static void submit_one (const char *plug_inst, const char *type, sstrncpy (vl.type_instance, type_instance, sizeof (vl.type_instance)); } - DEBUG("submit_one pl_inst:%s, inst_type %s, type %s, val=%lu", + DEBUG("submit_one pl_inst:%s, inst_type %s, type %s, val=%"PRIu64"", plug_inst, type_instance, type, value); plugin_dispatch_values (&vl); -- 2.11.0