From 2835a224cd603489ac08625265d383d4690cb58a Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 26 Nov 2014 14:04:51 +0100 Subject: [PATCH] bbunit: fix WANT_TIMING compilation Signed-off-by: Denys Vlasenko --- libbb/bbunit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbb/bbunit.c b/libbb/bbunit.c index 256014441..4c692d59f 100644 --- a/libbb/bbunit.c +++ b/libbb/bbunit.c @@ -77,7 +77,7 @@ int unit_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) #if WANT_TIMING gettimeofday(&end, NULL); timeval_diff(&time_spent, &end, &begin); - bb_error_msg("Elapsed time %u.%06u seconds" + bb_error_msg("Elapsed time %u.%06u seconds", (int)time_spent.tv_sec, (int)time_spent.tv_usec); #endif -- 2.25.1