diff options
author | Denys Vlasenko | 2014-11-26 14:04:51 +0100 |
---|---|---|
committer | Denys Vlasenko | 2014-11-26 14:04:51 +0100 |
commit | 2835a224cd603489ac08625265d383d4690cb58a (patch) | |
tree | 44e814dd69aceb7c39a2bf6b9f4be132cbfb6880 | |
parent | eff58f15b05733eb10b8a579fd495cf4ca3b1493 (diff) | |
download | busybox-2835a224cd603489ac08625265d383d4690cb58a.zip busybox-2835a224cd603489ac08625265d383d4690cb58a.tar.gz |
bbunit: fix WANT_TIMING compilation
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-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 2560144..4c692d5 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 |