Skip to content

Commit

Permalink
Merge pull request #26 from kalvdans/master
Browse files Browse the repository at this point in the history
Add missing newlines on error messages.
  • Loading branch information
bestouff authored Oct 11, 2020
2 parents 4741110 + b571221 commit 3b99f4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions genext2fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -3852,13 +3852,13 @@ main(int argc, char **argv)
if (strcmp(layers[i].path, "-") == 0)
numstdin++;
if (numstdin == 1 && nbinodes == -1 && bytes_per_inode == -1)
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.");
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");
if (numstdin > 1)
error_msg_and_die("only one input can come from stdin");

if(fsin)
{
fprintf(stderr, "starting from existing image %s", fsin);
fprintf(stderr, "starting from existing image %s\n", fsin);
if(strcmp(fsin, "-"))
{
FILE * fh = xfopen(fsin, "rb");
Expand Down

0 comments on commit 3b99f4a

Please sign in to comment.