some spaces added in print_rate function
authorhackbard <hackbard>
Mon, 2 Feb 2004 02:40:40 +0000 (02:40 +0000)
committerhackbard <hackbard>
Mon, 2 Feb 2004 02:40:40 +0000 (02:40 +0000)
stream.c

index aa8c52a..07439a5 100644 (file)
--- a/stream.c
+++ b/stream.c
@@ -47,8 +47,9 @@ int print_rate(struct timeval *time_start,int t) {
     :now.tv_usec-time_start->tv_usec;
   delta_t=sec_t*1000000+usec_t;
   kbs_t=(t/delta_t)*(1000000/1024);
-  count=printf("total: %d MByte - average: %d kB/s",t/(1024*1024),kbs_t);
+  count=printf("total: %d MByte - average: %d kB/s       ",t/(1024*1024),kbs_t);
   while(count--) printf("\b");
+  
 
   return 1;
 }