commit | 2835a224cd603489ac08625265d383d4690cb58a | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Wed Nov 26 14:04:51 2014 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Wed Nov 26 14:04:51 2014 +0100 |
tree | 44e814dd69aceb7c39a2bf6b9f4be132cbfb6880 | |
parent | eff58f15b05733eb10b8a579fd495cf4ca3b1493 [diff] [blame] |
bbunit: fix WANT_TIMING compilation Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/libbb/bbunit.c b/libbb/bbunit.c index 2560144..4c692d5 100644 --- a/libbb/bbunit.c +++ b/libbb/bbunit.c
@@ -77,7 +77,7 @@ #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