diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2014-11-26 16:04:51 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2014-11-26 16:04:51 +0300 |
commit | 2835a224cd603489ac08625265d383d4690cb58a (patch) | |
tree | 44e814dd69aceb7c39a2bf6b9f4be132cbfb6880 /libbb | |
parent | eff58f15b05733eb10b8a579fd495cf4ca3b1493 (diff) |
bbunit: fix WANT_TIMING compilation
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/bbunit.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |