From a20156a45e4227a97b31c2fc607cfcb06943a3c2 Mon Sep 17 00:00:00 2001 From: Matteo Cypriani Date: Tue, 24 Jan 2012 19:37:06 +0100 Subject: [PATCH] [Listener] print_configuration(): fix verbose The verbose level was displayed as a boolean when the program was compiled without libconfuse. --- owlps-listener/owlps-listenerd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/owlps-listener/owlps-listenerd.c b/owlps-listener/owlps-listenerd.c index 89e2a15..a0fd6f0 100644 --- a/owlps-listener/owlps-listenerd.c +++ b/owlps-listener/owlps-listenerd.c @@ -697,7 +697,7 @@ void print_configuration() "my_position_y = %f\n" "my_position_z = %f\n" #endif // USE_PTHREAD - "verbose = %s\n" + "verbose = %"PRIuFAST8"\n" , GET_MODE(), GET_AGGREGATION_IP(), @@ -721,7 +721,7 @@ void print_configuration() GET_MY_POSITION_Y(), GET_MY_POSITION_Z(), #endif // USE_PTHREAD - OWL_BOOL_TO_STRING(GET_VERBOSE()) + GET_VERBOSE() ) ; #endif // USE_CONFIG_FILE }