From: Eric Bollengier Date: Sat, 22 Mar 2008 11:30:18 +0000 (+0000) Subject: ebl Fix warning on 64bit X-Git-Tag: Release-3.0.0~1644 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=45c9bacba528a964a3e35377bfa5480caccac165;p=bacula%2Fbacula ebl Fix warning on 64bit git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6666 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/tools/bbatch.c b/bacula/src/tools/bbatch.c index aa3a328bd7..17259dcf59 100644 --- a/bacula/src/tools/bbatch.c +++ b/bacula/src/tools/bbatch.c @@ -284,7 +284,7 @@ static void *do_batch(void *jcr) P(mutex); char ed1[200], ed2[200]; printf("\rbegin = %s, end = %s\n", edit_int64(begin, ed1),edit_int64(end, ed2)); - printf("Insert time = %llims\n", (end - begin) / 10000); + printf("Insert time = %sms\n", edit_int64((end - begin) / 10000, ed1)); printf("Create %u files at %.2f/s\n", lineno, (lineno / ((float)((end - begin) / 1000000)))); nb--;