]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
[fix] Add newline when file exceeds 128KB 4054/head
authorJure Bajic <jure.bajic94@gmail.com>
Sun, 26 May 2024 09:33:39 +0000 (11:33 +0200)
committerJure Bajic <jure.bajic94@gmail.com>
Sun, 26 May 2024 09:34:24 +0000 (11:34 +0200)
programs/dibio.c

index 26ebe5ca1d63ca0c99326222e905fb07cbdfd932..7ba22d15b97fe895bc348dd6b963a6cfd22ccad8 100644 (file)
@@ -298,7 +298,7 @@ static fileStats DiB_fileStats(const char** fileNamesTable, int nbFiles, size_t
           fs.oneSampleTooLarge |= (fileSize > 2*SAMPLESIZE_MAX);
 
           /* Limit to the first SAMPLESIZE_MAX (128kB) of the file */
-          DISPLAYLEVEL(3, "Sample file '%s' is too large, limiting to %d KB",
+          DISPLAYLEVEL(3, "Sample file '%s' is too large, limiting to %d KB\n",
               fileNamesTable[n], SAMPLESIZE_MAX / (1 KB));
         }
         fs.nbSamples += 1;