fix compiler warning for 0.9 patch

This commit is contained in:
Michael Wehr
2021-12-22 11:57:51 +01:00
parent 47dbf85998
commit 9d614d1883

View File

@@ -158,7 +158,7 @@ diff -aur coreutils-9.0/src/copy.c coreutils-9.0-patched/src/copy.c
+ {
+ printf ( "\033[K%s\n", s_progress->cProgressField[it] );
+ if ( strlen ( s_progress->cProgressField[it] ) < s_progress->iBarLength )
+ printf ( "" );
+ printf ( "%s", "" );
+ }
+ if ( g_iTotalFiles > 1 )
+ printf ( "\r\033[6A" );