Commit Diff


commit - bd974b1ab491a57a6158424b5ade3492af2bb8a1
commit + 635012748872499a07716553366837423fcae24c
blob - e04810b9bcb205b6fc3ca39f9e24dceee510a8ee
blob + e1e0fddfc7e854cc03e37ee33cfd173c0c2a3eb9
--- shreddisk.c	
+++ shreddisk.c	
@@ -226,8 +226,7 @@ main(void)
 					    == -1)
 						err(1, "asprintf");
 
-				percent = total / total_bytes *
-				    100;
+				percent = total / total_bytes * 100;
 				printf("\rPercent completed: %0.2f%% / " \
 				    "Approximate time remaining: %0.2f %s     ",
 				    percent, time_remaining * (passes - i_pass),