@@ -552,7 +552,7 @@ void renewal_tar(int count)
552
552
char path [MAX_BUFFER_SIZE ] = { 0 };
553
553
char command [MAX_BUFFER_SIZE ] = { 0 };
554
554
struct stat statbuf ;
555
- int size ;
555
+ unsigned long long size ;
556
556
557
557
if (count == 0 ) {
558
558
fprintf (stderr , "write_log(): already up to date in %s\n" , dst_path );
@@ -629,7 +629,7 @@ void renewal_tar(int count)
629
629
* @brief 로그 파일 작성
630
630
* @param count 변경 사항 개수
631
631
*/
632
- void write_log (int count , int totalsize ) // 로그 파일 작성
632
+ void write_log (int count , unsigned long long totalsize ) // 로그 파일 작성
633
633
{
634
634
FILE * fp ;
635
635
time_t now_t ;
@@ -664,7 +664,7 @@ void write_log(int count, int totalsize) // 로그 파일 작성
664
664
fprintf (fp , "[%.24s] %s\n" , asctime (now_tm ), command ); // 헤더 라인 쓰기
665
665
666
666
if (option_t )
667
- fprintf (fp , " totalsize %dbytes \n" , totalsize );
667
+ fprintf (fp , " totalsize %llubytes \n" , totalsize );
668
668
669
669
for (int i = 0 ; i < count ; i ++ ) // 변경 사항 쓰기
670
670
switch (change_list [i ].status ) {
0 commit comments