]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
added line spacing for clarity
authorPaul Cruz <paulcruz74@fb.com>
Mon, 12 Jun 2017 17:58:34 +0000 (10:58 -0700)
committerPaul Cruz <paulcruz74@fb.com>
Mon, 12 Jun 2017 17:58:34 +0000 (10:58 -0700)
programs/fileio.c

index c836020c932524af4653a103073b86f9c37a5481..a7812d73abd8d0c563fb716d12e803bbf3827927 100644 (file)
@@ -867,18 +867,20 @@ int FIO_listFile(const char* infilename, int displayLevel){
     const char* const suffixPtr = strrchr(infilename, '.');
     if(!suffixPtr || strcmp(suffixPtr, ZSTD_EXTENSION)){
         DISPLAYLEVEL(1, "file %s was not compressed with zstd -- ignoring\n", infilename);
-        return 1; 
+        DISPLAY("\n");
+        return 1;
     }
     else{
-        U64 const compSize = UTIL_getFileSize(infilename); 
+        U64 const compSize = UTIL_getFileSize(infilename);
         if(displayLevel<=2){
-            DISPLAY("Skippable  Non-Skippable  Compressed  Uncompressed  Ratio  Check  Filename\n");     
-            DISPLAY("                          %7.2f MB\n", (double)compSize/(1 MB)); 
+            DISPLAY("Skippable  Non-Skippable  Compressed  Uncompressed  Ratio  Check  Filename\n");
+            DISPLAY("                          %7.2f MB\n", (double)compSize/(1 MB));
         }
         else{
             DISPLAY("Compressed Size: %.2f MB (%llu B)\n", (double)compSize/(1 MB), compSize);
         }
     }
+    DISPLAY("\n");
     return 0;
 }