From: hackbard Date: Mon, 2 Feb 2004 02:40:40 +0000 (+0000) Subject: some spaces added in print_rate function X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=6b894156a6cd304f35a959d4388dfb1e1342e844;p=my-code%2Fivac.git some spaces added in print_rate function --- diff --git a/stream.c b/stream.c index aa8c52a..07439a5 100644 --- 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; }