From bb29e8566cd82952561d91e741f36acb07bfb2a3 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Thu, 16 Jun 2011 11:42:20 +0200 Subject: [PATCH] amqp plugin: Fixed format strings when printing 'interval_g'. --- src/amqp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/amqp.c b/src/amqp.c index f0abd44b..44f98230 100644 --- a/src/amqp.c +++ b/src/amqp.c @@ -551,7 +551,7 @@ static void *camqp_subscribe_thread (void *user_data) /* {{{ */ if (status != 0) { ERROR ("amqp plugin: camqp_connect failed. " - "Will sleep for %i seconds.", interval_g); + "Will sleep for %lli seconds.", (long long int)interval_g); sleep (interval_g); continue; } @@ -560,7 +560,7 @@ static void *camqp_subscribe_thread (void *user_data) /* {{{ */ if (status < 0) { ERROR ("amqp plugin: amqp_simple_wait_frame failed. " - "Will sleep for %i seconds.", interval_g); + "Will sleep for %lli seconds.", (long long int)interval_g); camqp_close_connection (conf); sleep (interval_g); continue; -- 2.11.0