summaryrefslogtreecommitdiff
path: root/apps/plugins/md5sum.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/md5sum.c')
-rw-r--r--apps/plugins/md5sum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/md5sum.c b/apps/plugins/md5sum.c
index 084256badf..f95cd20f20 100644
--- a/apps/plugins/md5sum.c
+++ b/apps/plugins/md5sum.c
@@ -58,7 +58,7 @@ static void hash_file( int out, const char *path )
58 { 58 {
59 char string[MD5_STRING_LENGTH+1]; 59 char string[MD5_STRING_LENGTH+1];
60 done++; 60 done++;
61 rb->splash( 0, "%d / %d : %s", done, count, path ); 61 rb->splashf( 0, "%d / %d : %s", done, count, path );
62 if( hash( string, path ) ) 62 if( hash( string, path ) )
63 rb->write( out, "error", 5 ); 63 rb->write( out, "error", 5 );
64 else 64 else
@@ -140,7 +140,7 @@ static void hash_check( int out, const char *path )
140 { 140 {
141 const char *filename = rb->strchr( line, ' ' ); 141 const char *filename = rb->strchr( line, ' ' );
142 done++; 142 done++;
143 rb->splash( 0, "%d / %d : %s", done, count, filename ); 143 rb->splashf( 0, "%d / %d : %s", done, count, filename );
144 if( !filename || len < MD5_STRING_LENGTH + 2 ) 144 if( !filename || len < MD5_STRING_LENGTH + 2 )
145 { 145 {
146 const char error[] = "Malformed input line ... skipping"; 146 const char error[] = "Malformed input line ... skipping";