]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Fix warning on 64bit
authorEric Bollengier <eric@eb.homelinux.org>
Sat, 22 Mar 2008 11:30:18 +0000 (11:30 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Sat, 22 Mar 2008 11:30:18 +0000 (11:30 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6666 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/tools/bbatch.c

index aa3a328bd781ed1da26fe49d096b4ba49c800de4..17259dcf59e247be515c8cc687574825cf390325 100644 (file)
@@ -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--;