From b57122103bec20b345bcc0dd1f84c3a30743b068 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20H=C3=A4ggstr=C3=B6m?= Date: Sun, 11 Oct 2020 00:04:23 +0200 Subject: [PATCH] Add missing newlines on error messages. --- genext2fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/genext2fs.c b/genext2fs.c index 81db664..96bbb43 100644 --- a/genext2fs.c +++ b/genext2fs.c @@ -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");