Skip to content

Commit 3b99f4a

Browse files
authored
Merge pull request #26 from kalvdans/master
Add missing newlines on error messages.
2 parents 4741110 + b571221 commit 3b99f4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

genext2fs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3852,13 +3852,13 @@ main(int argc, char **argv)
38523852
if (strcmp(layers[i].path, "-") == 0)
38533853
numstdin++;
38543854
if (numstdin == 1 && nbinodes == -1 && bytes_per_inode == -1)
3855-
fprintf(stderr, "Cannot count the required inodes for input from stdin -- use the -N or -i options to set the number of inodes or work with temporary files.");
3855+
fprintf(stderr, "Cannot count the required inodes for input from stdin -- use the -N or -i options to set the number of inodes or work with temporary files.\n");
38563856
if (numstdin > 1)
38573857
error_msg_and_die("only one input can come from stdin");
38583858

38593859
if(fsin)
38603860
{
3861-
fprintf(stderr, "starting from existing image %s", fsin);
3861+
fprintf(stderr, "starting from existing image %s\n", fsin);
38623862
if(strcmp(fsin, "-"))
38633863
{
38643864
FILE * fh = xfopen(fsin, "rb");

0 commit comments

Comments
 (0)